pub const MAX_TRANSMISSION_UNIT: usize = 1452;
Expand description
The maximum size of packet that can be sent or recieved, in bytes.
This is based on the ethernet standard MTU (1500 bytes), the size of the IPv4/6 header (20/40 bytes), and the UDP header (8 bytes).