code wiki / _hdl_build / nx_meet_serve_lib.nx

nx_meet_serve_lib.nx

buildroot/runtime/_hdl_build/nx_meet_serve_lib.nx

2319 B55 linesdepth 7pulls 9 transitivereach 2 importersview sourcekind librarytopic meet
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_meet_lib.nx nx_meet_http.nx nx_meet_serve_lib.nx nx_meet_serve.nx nx_meet_serve_gate.nx

imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_http.nx

imported by: nx_meet_serve.nxnx_meet_serve_gate.nx

structs

none

consts

8const K_MAGIC_65536: i64 = 65536
9const K_MAGIC_65535: i64 = 65535

functions

12func meet_id(seq: i64, out: *u8) -> i64
called by 1: meet_serve_one calls 2: mcatsys_mmap
24func meet_serve_one(lfd: i64, seq: i64) -> i64
41func meet_serve(port: i64) -> i64