code wiki / (root) / nx_quic_relay.nx

nx_quic_relay.nx

buildroot/runtime/nx_quic_relay.nx

1524 B29 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind tooltopic quic
docsdependenciesstructsconstsfunctions

about

nx_quic_relay.nx -- RUNG 8b of the sovereign QUIC transport: the relay's datagram FAN-OUT. The family video room is a relay: a DATAGRAM (R1) arriving from one peer is re-framed and broadcast to every OTHER peer (never echoed to the sender). The relay forwards the payload OPAQUELY -- it never inspects the FEC (R8a), so each receiving peer recovers its own losses end-to-end. This is the server-side core of the live wire-in, gated in isolation (no sockets, no live call). Composes R1's DATAGRAM frame. No float. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_quic_wire.nx nx_quic_relay.nx nx_quic_relay_test.nx

imports: nx_quic_wire.nx

imported by: nx_quic_relay_test.nx

structs

none

consts

none

functions

12func quic_relay_broadcast(n_peers: i64, from_idx: i64, payload: *u8, plen: i64, out_bufs: *u8, buf_cap: i64, out_lens: *i64) -> i64
called by 1: main calls 1: quic_datagram_encode
29func main() -> i64 { return 0 }