[zeromq-dev] Socket identities with subscription messages

Stefan Radomski radomski at tk.informatik.tu-darmstadt.de
Wed Nov 28 00:42:19 CET 2012

Hi there,

I would like to know the identity of the sockets subscribing to a XPUB socket. I already use ZMQ_XPUB_VERBOSE with the XPUB socket to see all subscriptions, but now I only know the number of subscribers and not their identities.

With the ROUTER / DEALER socket pairs, the actual message is always an envelope with the sending sockets identity as the first message, is there some way to achieve something similar for XPUB/XSUB socket pairs?

Best regards
Stefan Radomski

More information about the zeromq-dev mailing list