connect
suspend fun connect(hostname: String, port: Int, configure: SocketOptions.TCPClientSocketOptions.() -> Unit = {}): Socket
Content copied to clipboard
suspend fun connect(remoteAddress: SocketAddress, configure: SocketOptions.TCPClientSocketOptions.() -> Unit = {}): Socket
Content copied to clipboard
Connect to remoteAddress.