2012/8/14 Pieter Hintjens <[email protected]>: > On Tue, Aug 14, 2012 at 9:00 PM, andrea crotti > <[email protected]> wrote: > >>> Maybe an example would be nice to have in the guide or in the examples >>> directory, what do you think? > > Yes, when we update the Guide for 3.x... > >> This for example doesn't work, because the setsockopt is not compatible: >> Traceback (most recent call last): >> File "xsub.py", line 21, in <module> >> sock.setsockopt(zmq.SUBSCRIBE, '') > > Set the subscription on a SUB socket, not an XSUB. > > -Pieter
I don't understand what you mean exactly, and changing XSUB to SUB still doesn't work... And where should I use XSUB then if the subscriber should always be SUB? But a more important question, is XSUB supposed to work fine on 2.2 too since that's what I have to use now for production? _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
