suspend fun NetClient.connectAwait(port: Int, host: String): NetSocketsuspend 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): NetSocketsuspend fun NetClient.connectAwait(remoteAddress: SocketAddress, serverName: String): NetSocket
Open a connection to a server at the specific remoteAddress. |