GType g_socket_get_type (void) G_GNUC_CONST;
-GSocket * g_socket_new (GSocketDomain domain, GSocketType type, const gchar *protocol, GError **error);
+GSocket * g_socket_new (GSocketDomain domain,
+ GSocketType type,
+ const gchar *protocol);
GSocket * g_socket_new_from_fd (gint fd);
gboolean g_socket_get_blocking (GSocket *socket);
+void g_socket_set_reuse_address (GSocket *socket,
+ gboolean reuse);
+
+gboolean g_socket_get_reuse_address (GSocket *socket);
+
+gboolean g_socket_has_error (GSocket *socket,
+ GError **error);
+
gboolean g_socket_bind (GSocket *socket,
GSocketAddress *address,
GError **error);