Module udp

Module udp 

Source
Expand description

Contains support for parsing and writing User Datagram Protocol (UDP) packets, with no support for jumbograms.

Details of the UDP packet specification can be found at 1 2.

Structs§

UdpDatagram
Interprets the inner bytes as a UDP datagram.

Enums§

UdpError
Represents errors which may occur while parsing or writing a datagram.

Constants§

UDP_HEADER_SIZE
The header length is 8 octets (bytes).