Add Python RUDP socket transport
This commit is contained in:
parent
41bc58a3f6
commit
d8de83b26c
4 changed files with 239 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ CultNet owns cross-runtime transport semantics:
|
|||
| C# interop peer | TCP stream with 4-byte length-prefixed MessagePack frames | UDP multicast probe/announce | Test harness only |
|
||||
| TypeScript `cultnet-ts` | `CultNetPeer` over any Node `Duplex`, TCP-framed transport, or single-peer RUDP socket transport; interop uses TCP | UDP multicast probe/announce in the interop peer | First UDP socket binding for the shared RUDP reliability owner |
|
||||
| Rust `cultnet-rs` | Interop example uses TCP length-prefixed MessagePack frames; single-peer RUDP socket transport exists in the library | UDP multicast probe/announce | UDP socket binding for the shared RUDP reliability owner |
|
||||
| Python `cultcache-py` | TCP sockets with 4-byte length-prefixed MessagePack frames for local CultMesh/CultNet server and client | Endpoint lists and CultMesh peer/Verse catalogs | Local framed service body plus socket-free RUDP reliability owner; no UDP socket binding yet |
|
||||
| Python `cultcache-py` | TCP sockets with 4-byte length-prefixed MessagePack frames for local CultMesh/CultNet server and client; single-peer RUDP socket transport exists in the library | Endpoint lists and CultMesh peer/Verse catalogs | UDP socket binding for the shared RUDP reliability owner |
|
||||
| Kotlin `cultmesh-kotlin` | Minimal WebSocket-like lane over TCP socket | None found in the live package | Thin client surface |
|
||||
|
||||
The live split is therefore: payload language is converging, transport language
|
||||
|
|
@ -165,15 +165,16 @@ Current progress:
|
|||
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 tested before any runtime binds it to UDP I/O.
|
||||
- TypeScript and Rust now have socket-backed RUDP transport connections that
|
||||
bind a single UDP peer to the shared RUDP session. TypeScript emits the same
|
||||
`frame` events as the TCP-framed transport and can carry `CultNetPeer` schema
|
||||
messages over reliable ordered `schema` frames; Rust exposes the same
|
||||
transport frame/stats shape through synchronous socket polling.
|
||||
- TypeScript, Rust, and Python now have socket-backed RUDP transport
|
||||
connections that bind a single UDP peer to the shared RUDP session. TypeScript
|
||||
emits the same `frame` events as the TCP-framed transport and can carry
|
||||
`CultNetPeer` schema messages over reliable ordered `schema` frames; Rust and
|
||||
Python expose the same transport frame/stats shape through synchronous socket
|
||||
polling.
|
||||
- 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 bind the shared RUDP
|
||||
reliability state machine to UDP sockets in C# and Python.
|
||||
reliability state machine to UDP sockets in C#.
|
||||
|
||||
## RUDP Packet Contract V0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue