code wiki / _hdl_build / nx_meet_serve_lib.nx
nx_meet_serve_lib.nx
buildroot/runtime/_hdl_build/nx_meet_serve_lib.nx
about
nx_meet_serve_lib.nx -- P2-LIVE socket serve loop (LIBRARY, no main) for the NISHI MEET platform. Wraps the
gated meet_http_handle in a real TCP server: accept -> read request -> handle -> write response -> close.
meet_serve_one(lfd,seq) handles ONE connection on an already-bound listening socket (so a gate can bind+fork+
drive it); meet_serve(port) is the production bind+listen+accept loop the daemon runs. 100% sovereign. license_tier: ORIGINAL
dependencies 3 imports · 2 importers
imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_http.nx
imported by: nx_meet_serve.nxnx_meet_serve_gate.nx
structs
| none |
consts
| 8 | const K_MAGIC_65536: i64 = 65536 |
| 9 | const K_MAGIC_65535: i64 = 65535 |
functions
| 12 | func meet_id(seq: i64, out: *u8) -> i64 |
| 24 | func meet_serve_one(lfd: i64, seq: i64) -> i64 called by 2: mainmeet_serve calls 9: sys_acceptsys_set_socket_timeoutsys_mmapsys_readmeet_idmeet_http_handle+3 |
| 41 | func meet_serve(port: i64) -> i64 |