connect

open fun connect(address: SocketAddress, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Connect @connection to the specified remote address.

Return

true if the connection succeeded, false on error

Since

2.32

Parameters

address

a #GSocketAddress specifying the remote address.

cancellable

a %GCancellable or null