blyat multi arch gcc

This commit is contained in:
2026-05-27 16:22:27 +03:00
parent 62f32c97c3
commit f05b8dc72d
2 changed files with 90 additions and 64 deletions

View File

@ -14,13 +14,14 @@ fun startClient(host: String, address: String, port: Int) = runBlocking {
val input = socket.getInputStream()
val output = socket.getOutputStream()
println("Client trying to pair")
launch {
val buffer = ByteArray(32768)
println("Client trying to pair")
println("Client connected - $host:$port")
while (true) {
val len = tun.input.read(buffer)
println("Client connected - $host:$port")
if (len > 0) {
output.write(len shr 8)