Add TypeScript RUDP reliability core

This commit is contained in:
Meta Vens 2026-06-14 22:28:54 +01:00
commit 105f564e76
4 changed files with 380 additions and 1 deletions

View file

@ -160,9 +160,15 @@ Current progress:
the RUDP runtime yet; it is the binary packet language the runtimes must
converge on before resend loops, windows, and timeout behavior are allowed to
claim parity.
- TypeScript now owns the first deterministic RUDP reliability state machine:
connect/accept handshake, packet-level ack/ack-mask accounting, reliable
resend scheduling, duplicate suppression, and reliable ordered channel
delivery. It is in-memory and socket-free so the behavior can be ported before
any runtime binds it to UDP I/O.
- The remaining parity work is to add the equivalent port to Kotlin, deepen
Python's server-side use of its port, and move each runtime's existing
TCP/LiteNetLib/WebSocket bodies behind those ports, then implement `rudp`.
TCP/LiteNetLib/WebSocket bodies behind those ports, port the RUDP reliability
state machine into C#/Rust/Python, then bind it to UDP sockets.
## RUDP Packet Contract V0