Expand description
UDP sockets.
How to use:
- Create a UDP socket with
UdpSocket::new bindit to a local address and optionally also a remote address.- Send and receive packets.
Structs§
- Iface
Handle - A handle to an interface added to a [
Stack]. - Packet
Meta - Metadata associated with a packet.
- Recv
Packet - A received UDP datagram.
- UdpMetadata
- Metadata for a sent or received UDP datagram.
- UdpSocket
- An UDP socket.
Enums§
- Bind
Error - Error returned by
UdpSocket::bind. - Recv
Error - Error returned by
UdpSocket::recv_from. - Send
Error - Error returned by
UdpSocket::send_to.