nx_quic_udp.nx
buildroot/runtime/nx_quic_udp.nx
about
nx_quic_udp.nx -- RUNG 8c.1 of the sovereign QUIC transport: the UDP datagram endpoint. QUIC runs over
UDP (not TCP) -- that is precisely what lets a lost packet be FEC-recovered instead of TCP-retransmitted
(the resilience exceed). This is the sovereign socket layer the live relay's QUIC server stands on:
bind a UDP socket, send a QUIC packet, receive one. Reuses the proven nx_sc_sockaddr (sockaddr_in
byte-exact) from the IoT broadcast path. license_tier: ORIGINAL
dependencies 2 imports · 3 importers
imports: nx_syscalls.nxnx_iot_sc_broadcast.nx
imported by: nx_quic_pipe_test.nxnx_quic_udp_test.nxnx_vclient_loop_test.nx
structs
| none |
consts
| none |
functions
| 10 | func quic_udp_bind(port: i64) -> i64 |
| 19 | func quic_udp_socket() -> i64 { return sys_socket(AF_INET, SOCK_DGRAM, 0) } |
| 21 | func quic_udp_sendto(fd: i64, port: i64, buf: *u8, len: i64) -> i64 |
| 27 | func quic_udp_recv(fd: i64, buf: *u8, cap: i64) -> i64 |
| 34 | func main() -> i64 { return 0 } |