This is the asynchronous version of Socket.clientConnectToHost.
When the operation is finished callback will be called. You can then call Socket.clientConnectToHostFinish 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 gio.Cancellable, or NULL
a GAsyncReadyCallback
user data for the callback
2.22
This is the asynchronous version of Socket.clientConnectToHost.
When the operation is finished callback will be called. You can then call Socket.clientConnectToHostFinish to get the result of the operation.