SocketConnection.connectAsync

Asynchronously connect connection to the specified remote address.

This clears the blocking flag on connection's underlying socket if it is currently set.

Use Socket.connectionConnectFinish to retrieve the result.

class SocketConnection
void
connectAsync

Parameters

address SocketAddress

a gio.SocketAddress specifying the remote address.

cancellable Cancellable

a GCancellable or NULL

callback GAsyncReadyCallback
userData void*

user data for the callback

Meta

Since

2.32