SocketConnection.connect
bool connect(gio.socket_address.SocketAddress address, gio.cancellable.Cancellable cancellable = null)Connect connection to the specified remote address.
Parameters
address | a #GSocketAddress specifying the remote address. |
cancellable | a gio.cancellable.Cancellable or null |
Returns
true if the connection succeeded, false on error