Skip to main content

MAX_DATAGRAM

Constant MAX_DATAGRAM 

Source
pub const MAX_DATAGRAM: usize = 1200;
Expand description

The largest datagram the protocol sends or reads, in bytes. A packet above this is refused before parsing: the bound is the first defense, not the parser.