[zeromq-dev] ZMQ 3.1 and jzmq compatibility

Pieter Hintjens ph at imatix.com
Tue Jan 31 16:24:31 CET 2012


On Tue, Jan 31, 2012 at 3:53 PM, Chuck Remes <cremes.devlist at mac.com> wrote:

> You should look at the existing proposals for the wire protocol.
> http://rfc.zeromq.org/
> Check out specs 13 and 15.
> If we start mucking with the wire protocol, then we should start from a known and good foundation.

Spec 15 isn't used, and I will kill it. Spec 13 is, IMO, extensible
with backwards-compatible protocol detection. One could use the flag
bits in the greeting; these are zero in 2.1. We have seven bits to
play with, enough to encode all future versions, with care. If each
peer announces its version then other peers can deal with that
appropriately. We can establish the rule that it's always up to newer
code to respect older code.

-Pieter



More information about the zeromq-dev mailing list