[zeromq-dev] ZMQ_IDENTITY between UUIDs and 32-bit integers

Pieter Hintjens ph at imatix.com
Wed Nov 16 18:51:49 CET 2011


What should perhaps be clarified is that:

* the size of the identity that libzmq uses is not defined except that
it's 1 to 255 bytes.
* the setsockopt call must use the same size as provided by the getsockopt call.

-Pieter

On Wed, Nov 16, 2011 at 11:04 AM, Amr Ali <amr.ali.cc at gmail.com> wrote:
> Under both 2.1.x zmq_{get,set}sockopt() documentation.
>
> ZMQ_IDENTITY expects 0-255 bytes, which what it should be.
>
> However under 3.1.0's documentation, ZMQ_IDENTITY still expects 0-255 bytes,
> which to my understanding has changed to be a 32-bit integer.
>
> I think this is a documentation bug, but if it is not, please do clarify.
>
> Thanks.
> --
> Amr Ali
>
>
> _______________________________________________
> 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