Port RUDP reliability core to C#

This commit is contained in:
Meta Vens 2026-06-14 22:35:40 +01:00
commit 62cd1db32b
3 changed files with 545 additions and 6 deletions

View file

@ -160,15 +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.
- TypeScript and C# now share 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, port the RUDP reliability
state machine into C#/Rust/Python, then bind it to UDP sockets.
state machine into Rust/Python, then bind it to UDP sockets.
## RUDP Packet Contract V0