Skip to main content

Module network_ops

Module network_ops 

Source
Expand description

Network operation implementations for the io module.

Phase 2d migration: ported to the typed marshal layer (cluster #2 option γ for IoHandle-touching functions). Mirrors the shape used by file_ops.rs::register_file_io_handle_opsArc<IoHandleData> parameters via FromSlot, register_typed_fn_N / _N_full for optional n, returns built from ConcreteReturn::IoHandle / String / I64 / Bool and TypedReturn::TypedObject for udp_recv’s {data, addr} shape.

TCP: tcp_connect, tcp_listen, tcp_accept, tcp_read, tcp_write, tcp_close UDP: udp_bind, udp_send, udp_recv

All operations use blocking std::net (not tokio).

Functions§

register_network_io
Register the 9 network IO functions on the io module. Cluster #2 (option γ) per docs/defections.md 2026-05-06.