This is the asynchronous version of g_socket_client_connect_to_host(). When the operation is finished callback will be called. You can then call g_socket_client_connect_to_host_finish() to get the result of the operation. Since 2.22
the name and optionally the port of the host to connect to
the default port to connect to
a GCancellable, or NULL. [allow-none]
a GAsyncReadyCallback. [scope async]
user data for the callback. closure
See Implementation
This is the asynchronous version of g_socket_client_connect_to_host(). When the operation is finished callback will be called. You can then call g_socket_client_connect_to_host_finish() to get the result of the operation. Since 2.22