Crate axnet

source ·
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

Enums

  • An internetworking address.

Functions