This is the asynchronous version of gio.socket_client.SocketClient.connectToHost.
When the operation is finished callback will be called. You can then call gio.socket_client.SocketClient.connectToHostFinish to get the result of the operation.
the name and optionally the port of the host to connect to
the default port to connect to
a #GCancellable, or null
a #GAsyncReadyCallback
This is the asynchronous version of gio.socket_client.SocketClient.connectToHost.
When the operation is finished callback will be called. You can then call gio.socket_client.SocketClient.connectToHostFinish to get the result of the operation.