pub const MAX_MESSAGE_LEN: u16 = MAX_PACKET_LEN - 2; // 32_766u16
Expand description

The maximum possible message length of an UnreliableChannel message for the largest possible packet, based on the MAX_PACKET_LEN.