[zeromq-dev] PicoTCP ZeroMQ implementation

Pieter Hintjens ph at imatix.com
Tue Jan 14 12:29:00 CET 2014

On Tue, Jan 14, 2014 at 12:19 PM, Toon Peters <toon.peters at tass.be> wrote:

> Signature: FF 00 00 00 00 00 00 00 01 7F ( the signature mentions 8 times
> 0x00, while the documentation below mentions 8 octets + 1. Could you provide
> any clarification here?

See RFC 15: http://rfc.zeromq.org/spec:15#toc9

To get backwards compatibility the signature is tweaked to be a valid
frame with long (8-octet) length. It's messy because ZMTP/1.0 had no
protocol header.

If you don't want backwards compatibility (meaning, with ZeroMQ v2.x)
you can use 8 zero octets as defined by RFC 15.

I think your other questions will also be answered by reading RFC 15.


More information about the zeromq-dev mailing list