SocketConnection.connect

Connect connection to the specified remote address.

class SocketConnection
bool
connect

Parameters

address SocketAddress

a gio.SocketAddress specifying the remote address.

cancellable Cancellable

a GCancellable or NULL

Return Value

Type: bool

TRUE if the connection succeeded, FALSE on error

Throws

GException on failure.

Meta

Since

2.32