protocolVersion constant

int const protocolVersion

Revision of this wire format, raised with every incompatible change.

Two ends of different revisions then refuse each other by name instead of decoding each other's frames as garbage.

Implementation

static const int protocolVersion = 1;