broke jvm

This commit is contained in:
2026-05-24 22:47:29 +03:00
parent 07a1fbe692
commit 269f23198f
13 changed files with 4045 additions and 40 deletions

View File

@ -38,7 +38,6 @@ suspend fun handle(socket: Socket) {
val packet = buffer.copyOf(len)
// 🌍 forward to internet
val response = forwardPacket(packet)
output.write(response.size shr 8)
@ -49,8 +48,6 @@ suspend fun handle(socket: Socket) {
}
fun forwardPacket(packet: ByteArray): ByteArray {
// ⚠️ simplified: we assume HTTP (not real VPN parsing yet)
val host = "example.com"
val port = 80