Constant udpsec::DATAGRAM_MAX_LENGTH
source · [−]pub const DATAGRAM_MAX_LENGTH: usize = 65506 - CHECKSUM_LENGTH; // 65_502usize
Expand description
Maximal amount of bytes you can send with Socket.send()
method
- 1 byte is reserved by the packet type
CHECKSUM_LENGTH
bytes are reserved by theget_checksum()