SocketClient.connectToServiceAsync

This is the asynchronous version of g_socket_client_connect_to_service(). Since 2.22

class SocketClient
void
connectToServiceAsync

Parameters

domain string

a domain name

service string

the name of the service to connect to

cancellable Cancellable

a GCancellable, or NULL. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback. [scope async]

userData void*

user data for the callback. closure

Meta