[zeromq-dev] How does the zeromq know how many subscribers it has?

Pieter Hintjens ph at imatix.com
Tue Mar 13 13:52:03 CET 2012


Hi Min Ling,

You don't get this information on a PUB socket. Advanced users can use
XPUB sockets (in 0MQ/3.1) to get this information.

-Pieter

On Tue, Mar 13, 2012 at 4:04 AM, 邱敏鈴 <minling.ann at gmail.com> wrote:
> dear all,
>
> How does the zeromq know how many subscribers it has? i.e How does zeromq
> maintain the subscribers list?
>
> Or it should do by programmers.
>
> Thanks.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list