code wiki / (root) / nx_lib_probe.nx

nx_lib_probe.nx

buildroot/runtime/nx_lib_probe.nx

1822 B42 linesdepth 5pulls 8 transitivereach 0 importersview sourcekind probetopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_probe.nx -- sovereign HTTP CLIENT that hits the live nx_lib_httpd (127.0.0.1:8095) and prints the response. Proves the read API serves over real TCP, all .nx -- no curl, no python. Reuses the socket syscalls via nx_lib_serve's nx_syscalls import.

dependencies 2 imports · 0 importers

nx_lib_serve.nx nx_connect.nx nx_lib_probe.nx

imports: nx_lib_serve.nxnx_connect.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main lp_sockaddr nx_connect_bounded nx_fcntl sys_connect sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_poll sys_munmap ls_strlen

structs

none

consts

7const K_MAGIC_8095: i64 = 8095
8const K_MAGIC_262144: i64 = 262144

functions

10func lp_sockaddr(addr: *u8, port: i64) -> i64
called by 1: main
24func main() -> i64