suspend fun NetClient.connectAwait(port: Int, host: String): NetSocket suspend fun NetClient.connectAwait(port: Int, host: String, serverName: String): NetSocket
Open a connection to a server at the specific port and host. suspend fun NetClient.connectAwait(remoteAddress: SocketAddress): NetSocket suspend fun NetClient.connectAwait(remoteAddress: SocketAddress, serverName: String): NetSocket
Open a connection to a server at the specific remoteAddress. |