nx_net_chan_blob_test.nx
buildroot/runtime/nx_net_chan_blob_test.nx
about
nx_net_chan_blob_test.nx -- variable-length frames over TCP.
Round-trips three blobs of varying length (8B, 64B, 1024B) over
loopback and verifies bytes intact end-to-end. Builds on
[[nx_net_chan_tcp_i64]] with length-prefix framing.
dependencies 6 imports · 0 importers
imports: nx_kernel_v2.nxnx_log.nxnx_atom.nxnx_thread.nxnx_socket.nxnx_net_chan.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| 16 | struct BlobState |
consts
| 14 | const NX_PORT: i64 = 38923 |
functions
| 21 | func _sleep_ms(ms: i64) -> i64 called by 1: client_main |
| 29 | func _fill(buf: *u8, n: i64, seed: i64) -> i64 called by 1: client_main |
| 38 | func _check(buf: *u8, n: i64, seed: i64) -> i64 called by 1: client_main |
| 50 | func client_main(arg: *u8) -> i64 |
| 102 | func main() -> nx_exit |