SocketClient.connectAsync

This is the asynchronous version of Socket.clientConnect.

When the operation is finished callback will be called. You can then call Socket.clientConnectFinish to get the result of the operation.

Parameters

connectable SocketConnectableIF

a GSocketConnectable specifying the remote address.

cancellable Cancellable

a gio.Cancellable, or NULL

callback GAsyncReadyCallback
userData void*

user data for the callback

Meta

Since

2.22