Constant message_io::MAX_UDP_PAYLOAD_LEN [−][src]
pub const MAX_UDP_PAYLOAD_LEN: usize = 9216 - 20 - 8; // 0x0_000_000_000_002_3e4usize
Maximun payload that a UDP packet can send safety in main OS.
- 9216: MTU of the OS with the minimun MTU: OSX
- 20: max IP header
- 8: max udp header The serialization of your message must not exceed this value.