connectToServiceAsync

open fun connectToServiceAsync(domain: String, service: String, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

This is the asynchronous version of g_socket_client_connect_to_service().

Since

2.22

Parameters

domain

a domain name

service

the name of the service to connect to

cancellable

a #GCancellable, or null

callback

a #GAsyncReadyCallback