[zeromq-dev] fire up new subscribers

Pieter Hintjens ph at imatix.com
Tue Aug 14 14:09:19 CEST 2012


On Tue, Aug 14, 2012 at 9:00 PM, andrea crotti
<andrea.crotti.0 at gmail.com> 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



More information about the zeromq-dev mailing list