fixed automatic reconnection in TCP client/server

This commit is contained in:
sergeych committed 2024-06-17 17:42:16 +07:00
1 parent 0d3a8ae95c
commit 825c0bd5f7
7 files changed
+95 -49

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ fun createTestDevice(): Pair<Transport.Device, Transport.Device> {
val d1 = object : Transport.Device {
override val input: ReceiveChannel<UByteArray> = p1
override val output: SendChannel<UByteArray> = p2
override suspend fun close() {
p2.close()
}