Module net

Module net 

Source
Expand description

Networking primitives for oveRTOS.

Provides safe wrappers for BSD-like sockets (TCP and UDP), network interface management, DNS resolution, and socket addresses. All types use inline storage and implement Send + Sync.

Structs§

Address
Generic socket address (IPv4 or IPv6).
NetIf
RAII wrapper around a network interface.
NetIfConfig
Builder for network interface configuration.
TcpStream
RAII wrapper around a TCP (stream) socket.
UdpSocket
RAII wrapper around a UDP (datagram) socket.

Functions§

dns_resolve
Resolve a hostname to an address.