[ 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.
this | |
address |
a SocketAddress specifying the remote address. |
cancellable |
a gcancellable or null |
callback | |
user_data |
user data for the callback |