connect


Description:

[ Version ( since = "2.32" ) ]
public bool connect (SocketAddress address, Cancellable? cancellable = null) throws Error

Connect this to the specified remote address.

Parameters:

this

a SocketConnection

address

a SocketAddress specifying the remote address.

cancellable

a gcancellable or null

Returns:

true if the connection succeeded, false on error