Starting the NetworkStreams. HTTP to www.google.com works
[cascardo/gnio.git] / gnio / gsocket.h
index 5aa7040..2a50583 100644 (file)
@@ -27,8 +27,7 @@
 #include <glib-object.h>
 #include <gio/gio.h>
 
-#include "ginetaddress.h"
-#include "gsocketaddress.h"
+#include <gnio/gsocketaddress.h>
 
 G_BEGIN_DECLS
 
@@ -112,7 +111,7 @@ gssize           g_socket_receive            (GSocket       *socket,
                                               GError       **error);
 
 gssize           g_socket_send               (GSocket       *socket,
-                                              gchar         *buffer,
+                                              const gchar   *buffer,
                                               gsize          size,
                                               GError       **error);