[zeromq-dev] How to view current SUBs and their filters from PUB side?

余志昌 yuzhichang at gmail.com
Thu Jun 12 04:16:24 CEST 2014


Hi Michel,
    XPUB looks good. However I want more details info: the SUBs' address
info(IP + TCP port). Is that possible?
Regards,
Zhichang


2014-06-12 9:40 GMT+08:00 Michel Pelletier <pelletier.michel at gmail.com>:

> Subscriptions are received in the form of incoming messages you get by
> calling recv on the xpub socket.
>
> http://api.zeromq.org/3-2:zmq-socket
>
> "Same as ZMQ_PUB except that you can receive subscriptions from the peers
> in form of incoming messages. Subscription message is a byte 1 (for
> subscriptions) or byte 0 (for unsubscriptions) followed by the subscription
> body."
>
> -Michel
>
>
> On Wed, Jun 11, 2014 at 6:26 PM, 余志昌 <yuzhichang at gmail.com> wrote:
>
>> I don't see routines to dump xpub_t::subscriptions.
>>
>> Regards,
>> Zhichang
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140612/ecde60c8/attachment.htm>


More information about the zeromq-dev mailing list