This is the asynchronous version of gio.socket_client.SocketClient.connectToUri.
When the operation is finished callback will be called. You can then call gio.socket_client.SocketClient.connectToUriFinish to get the result of the operation.
a network uri
the default port to connect to
a #GCancellable, or null
a #GAsyncReadyCallback
This is the asynchronous version of gio.socket_client.SocketClient.connectToUri.
When the operation is finished callback will be called. You can then call gio.socket_client.SocketClient.connectToUriFinish to get the result of the operation.