Expand description
ArceOS network module.
It provides unified networking primitives for TCP/UDP communication using various underlying network stacks. Currently, only smoltcp is supported.
Organization
TcpSocket: A TCP socket that provides POSIX-like APIs.UdpSocket: A UDP socket that provides POSIX-like APIs.dns_query: Function for DNS query.
Cargo Features
smoltcp: Use smoltcp as the underlying network stack. This is enabled by default.
Structs
- A relative amount of time.
 - A four-octet IPv4 address.
 - An internet endpoint address.
 - A TCP socket that provides POSIX-like APIs.
 - A UDP socket that provides POSIX-like APIs.
 
Enums
- An internetworking address.
 
Functions
- Benchmark raw socket receive bandwidth.
 - Benchmark raw socket transmit bandwidth.
 - Public function for DNS query.
 - Convert from
std::net::SocketAddrtosmoltcp::wire::IpEndpoint. - Initializes the network subsystem by NIC devices.
 - Convert from
smoltcp::wire::IpEndpointtostd::net::SocketAddr. - Poll the network stack.