pub fn negotiate_protocol( local_min: u16, local_max: u16, remote_min: u16, remote_max: u16, ) -> Result<u16, SyncFrameError>
Selects the newest protocol supported by both endpoints.