extending functionality for kilogin

This commit is contained in:
sergeych committed 2024-07-24 22:49:30 +03:00
1 parent 5df6143c75
commit 7c0edfb898
6 files changed
+11 -7

No files matched your search

@@ -33,7 +33,6 @@ actual fun acceptTcpDevice(port: Int): Flow<InetTransportDevice> {
}
}
suspend fun connectTcpDevice(address: String) = connectTcpDevice(address.toNetworkAddress())
@Suppress("unused")
suspend fun connectTcpDevice(host: String, port: Int) = connectTcpDevice(NetworkAddress(host,port))
actual suspend fun connectTcpDevice(address: NetworkAddress): InetTransportDevice {