SocketClient.connectAsync

This is the asynchronous version of g_socket_client_connect(). When the operation is finished callback will be called. You can then call g_socket_client_connect_finish() to get the result of the operation. Since 2.22

Parameters

connectable SocketConnectableIF

a GSocketConnectable specifying the remote address.

cancellable Cancellable

a GCancellable, or NULL. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback. [scope async]

userData void*

user data for the callback. closure

Meta