connect

open override fun connect(dstName: String, dstPort: Int, isSecure: Boolean)

Starts a connection to the destination.

Parameters

dstName

The destination host name.

dstPort

The destination port.

isSecure

Whether to use TLS.