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 <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
