connect

fun connect(): Boolean

Connects to the remote server, blocking.

Return

Returns whether connection could be established.

Throws

If client is already connected to a host.