[zeromq-dev] Proposal/request for ZMTP 3 command encoding change.

Pieter Hintjens ph at imatix.com
Sun Jul 28 23:37:35 CEST 2013


Ola Merijn!

> I would like to propose changing the ABNF for command-name to:
> command-name = name-length name
> name-length = OCTET
> name = 1*255OCTET

It's a nice change and I've modified the specs (23, 24, 26). We'll
have to fix libzmq and curvezmq later, I've no time right now.

The reason for using a null-terminated string was to make command
frames printable (jn C/C++ at least) and to make it simple to work
with command frames in C. We had used a fixed-length command name
before but that was a bit horrid.

-Pieter



More information about the zeromq-dev mailing list