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 TCP socket that provides POSIX-like APIs.
- A UDP socket that provides POSIX-like APIs.
Functions§
- Benchmark raw socket receive bandwidth.
- Benchmark raw socket transmit bandwidth.
- Public function for DNS query.
- Initializes the network subsystem by NIC devices.
- Poll the network stack.