Skip to main content

MAX_WIRE_DATAGRAM

Constant MAX_WIRE_DATAGRAM 

Source
pub const MAX_WIRE_DATAGRAM: usize = 2048;
Expand description

Maximum size (bytes) of a single wire datagram. 2 KiB is ample for any encapsulated MTU-1500 payload plus yip-wire framing overhead.