[zeromq-dev] ZMTP 1.0 clarification

Pieter Hintjens ph at imatix.com
Sat Aug 16 09:38:26 CEST 2014


Yes, this is safe to say. However note that ZMTP v2 and later use a
long length, and an empty identity, to handshake with older
implementations. So while the first frame must be 255 or shorter, that
length may be encoded in 1+8 bytes (not always 1).

-Pieter

On Sat, Aug 16, 2014 at 9:08 AM, Merijn Verstraaten
<merijn at inconsistent.nl> wrote:
> Ola!
>
> I’m getting back to my own implementation of ZMTP, I’m trying to be backwards compatible and have a question about the ZMTP1 handshake. The spec states that identities must be between 1 and 255 bytes and the first message in a ZMTP1 connection contains the id. So it’s safe to say that any first message with a length > 255 is an error?
>
> Cheers,
> Merijn
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list