GSocketConnection *
g_socket_client_connect_to_host (GSocketClient *client,
const gchar *host_and_port,
- gint default_port,
+ guint16 default_port,
GCancellable *cancellable,
GError **error)
{
void
g_socket_client_connect_to_host_async (GSocketClient *client,
const gchar *host_and_port,
- gint default_port,
+ guint16 default_port,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
GError **error);
GSocketConnection * g_socket_client_connect_to_host (GSocketClient *client,
const gchar *host_and_port,
- gint default_port,
+ guint16 default_port,
GCancellable *cancellable,
GError **error);
GSocketConnection * g_socket_client_connect_to_service (GSocketClient *client,
GError **error);
void g_socket_client_connect_to_host_async (GSocketClient *client,
const gchar *host_and_port,
- gint default_port,
+ guint16 default_port,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
*/
gboolean
g_socket_listener_add_inet_port (GSocketListener *listener,
- int port,
+ guint16 port,
GObject *source_object,
GError **error)
{
GSocket *socket,
GObject *source_object,
GError **error);
-gboolean g_socket_listener_add_address (GSocketListener *listener,
+gboolean g_socket_listener_add_address (GSocketListener *listener,
GSocketAddress *address,
GSocketType type,
GSocketProtocol protocol,
GObject *source_object,
GError **error);
-gboolean g_socket_listener_add_inet_port (GSocketListener *listener,
- int port,
+gboolean g_socket_listener_add_inet_port (GSocketListener *listener,
+ guint16 port,
GObject *source_object,
GError **error);