Add TypeScript CultNet transport port

This commit is contained in:
Meta Vens 2026-06-14 21:28:23 +01:00
commit 48d2a0bc0d
6 changed files with 247 additions and 62 deletions

View file

@ -134,6 +134,18 @@ lets the runtimes stop guessing what kind of pipe a peer is offering.
with C#/TS/Rust/Python ping, loss, reordering, fragmentation, reconnect, and
schema-message tests.
Current progress:
- Steps 1-3 are live in C#, TypeScript, Rust, and Python.
- TypeScript has the first narrow transport connection port:
`TcpFramedTransportConnection` owns length-prefixed frame delivery, exposes
frame/close/error events, `send(channel, payload)`, `close`, and transfer
stats, and `CultNetPeer` can now run over either the legacy `Duplex` stream
path or the transport connection path.
- The remaining parity work is to add equivalent ports to C#, Rust, Python, and
Kotlin, then move each runtime's existing TCP/LiteNetLib/WebSocket bodies
behind those ports before implementing `rudp`.
## Reliable UDP Semantics To Lift From LiteNetLib
The portable RUDP contract must cover at least: