connect_async


Description:

[ Version ( since = "2.32" ) ]
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 TaskReadyCallback

user_data

user data for the callback




2022 vala-language.org