Constant tsproto::MAX_UDP_PACKET_LENGTH [−][src]
pub const MAX_UDP_PACKET_LENGTH: usize = 1500;
Expand description
The maximum number of bytes for a fragmented packet.
The maximum packet size is 500 bytes, as used by
algorithms::compress_and_split
.
We pick the ethernet MTU for possible future compatibility, it is unlikely
that a packet will get bigger.