Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 0;
Expand description

Protocol version for capability negotiation and compatibility checking.

This version is incremented when breaking changes are made to the protocol. Clients and servers use this for compatibility verification during handshake.