connect

suspend fun connect(hostname: String, port: Int, configure: SocketOptions.TCPClientSocketOptions.() -> Unit = {}): Socket

Connect to hostname and port.

Report a problem


suspend fun connect(remoteAddress: SocketAddress, configure: SocketOptions.TCPClientSocketOptions.() -> Unit = {}): Socket

Connect to remoteAddress.

Report a problem