Function negotiate_max_frame_len
pub fn negotiate_max_frame_len(local: u32, remote: u32) -> u32
Expand description
Return the maximum frame size two peers agree on.
§Arguments
local - This endpoint’s advertised maximum receivable frame size.
remote - The peer’s advertised maximum receivable frame size.
§Returns
The smaller of the two - the send limit both sides honor.