code wiki / (root) / nx_win_r1probe.nx

nx_win_r1probe.nx

buildroot/runtime/nx_win_r1probe.nx

2052 B50 linesdepth 0pulls 0 transitivereach 0 importersview sourcekind orphan librarytopic win
docsdependenciesstructsconstsfunctions

about

nx_win_r1probe.nx -- Relays HTTP/1.0 GET requests to 127.0.0.1:8000 and forwards responses to clients.

dependencies 0 imports · 0 importers

imports: none

imported by: nobody (leaf or entry point)

structs

none

consts

2const K_MAGIC_5273: i64 = 5273
3const K_MAGIC_65536: i64 = 65536
4const K_MAGIC_262144: i64 = 262144
5const K_MAGIC_8000: i64 = 8000

functions

9func slen(s: *u8) -> i64 { var k: i64 = 0; while s[k] != (0 as u8) { k = k + 1 } return k }
11func sys_mmap(n: i64) -> i64 { return 0 }
12func nx_wsa() -> i64 { return 0 }
13func nx_sock() -> i64 { return 0 }
14func nx_bind(s: i64, port: i64) -> i64 { return 0 }
15func nx_listen(s: i64) -> i64 { return 0 }
16func nx_accept(s: i64) -> i64 { return 0 }
17func nx_recv(c: i64, buf: *u8, n: i64) -> i64 { return 0 }
18func nx_send(c: i64, buf: *u8, n: i64) -> i64 { return 0 }
19func nx_close(s: i64) -> i64 { return 0 }
20func nx_connect(s: i64, port: i64) -> i64 { return 0 }
22func main() -> i64