SocketConnection.connect

Connect @connection to the specified remote address.

class SocketConnection
bool
connect

Parameters

address SocketAddress

a #GSocketAddress specifying the remote address.

cancellable Cancellable

a %GCancellable or %NULL

Return: %TRUE if the connection succeeded, %FALSE on error

Throws

GException on failure.

Meta

Since

2.32