[zeromq-dev] ZMQ_IDENTITY between UUIDs and 32-bit integers
Amr Ali
amr.ali.cc at gmail.com
Sat Nov 19 16:01:16 CET 2011
A 32bit takes 4 bytes of space. Now please elaborate on what exactly is in the
range of 0-255, cause a 32bit value can take 4 bytes maximum!
On 11/19/2011 10:17 AM, Martin Sustrik wrote:
> Hi,
>
>> 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.
>
> 32bits *is* in the range of 0-255 bytes. Can you be more specific about what
> wording in the docs make this unclear?
>
> Thanks!
> Martin
--
Amr Ali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111119/3e8432db/attachment.sig>
More information about the zeromq-dev
mailing list