[zeromq-dev] querying what a SUB socket is subscribed to

Pieter Hintjens ph at imatix.com
Thu Oct 27 00:40:22 CEST 2011


On Wed, Oct 26, 2011 at 8:56 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Can you point to the documentation that suggest that getsockopt can be
> used with ZMQ_SUBSCRIBE? That kind of thing is not possible and the
> documentation should be fixed to reflect the fact.

The documentation doesn't suggest this anywhere that I can see. It
might however be worth adding a sentence to the zmq_setsockopts page
to point out that it's not symmetric, and to check zmq_getsockopts.

-Pieter



More information about the zeromq-dev mailing list