[zeromq-dev] Wire-format spec for zmq 3.2

Pieter Hintjens ph at imatix.com
Wed Oct 24 07:11:16 CEST 2012


On Wed, Oct 24, 2012 at 10:43 AM, KIU Shueng Chuan <nixchuan at gmail.com> wrote:

> I am curious as to why the backwards interoperability handshake works.
> It seems that a 1.0 peer ought to interpret
> "%xFF 7%x00 %x01 %x7F"
> as a frame with MORE bit set?

I think (would have to check the code) that 2.x peers do not consider
the MORE bit on identities.

In fact the frame that 2.0 suggests sending to discover a 1.0 peer is
invalid according to the 1.0 protocol, where the 'final' byte must be
%01, not %7f.

ZMTP/1.0 would benefit from being corrected to document the way the
2.2 codebase actually works.

-Pieter



More information about the zeromq-dev mailing list