SocketClient.connectToServiceAsync

void connectToServiceAsync(string domain, string service, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

This is the asynchronous version of [gio.socket_client.SocketClient.connectToService].

Parameters

domaina domain name
servicethe name of the service to connect to
cancellablea #GCancellable, or null
callbacka #GAsyncReadyCallback