connect_async


Description:

public async bool connect_async (SocketAddress address, Cancellable? cancellable = null) throws Error

Asynchronously connect this to the specified remote address.

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

Use connect_async.end to retrieve the result.

Parameters:

this

a SocketConnection

address

a SocketAddress specifying the remote address.

cancellable

a gcancellable or null

callback

a AsyncReadyCallback

user_data

user data for the callback