pub const MAX_UDP_PAYLOAD: usize = 65527;
Largest UDP payload that can be represented (RFC 9298 §5).
A UDP datagram’s length field covers the 8-byte header, so the payload cannot exceed 65535 - 8.
65535 - 8