[zeromq-dev] xpub and xsub example

Mohit Jaggi mohitjaggi at gmail.com
Mon Jan 14 23:10:39 CET 2013


Hi All,
I am looking for examples of xpub and xsub. My use case is that multiple
threads in a process produce data that needs to be published over a TCP
socket. I was thinking of letting them call "send" but it seems that that
is not thread-safe. From the guide, it appears I can use inproc+xpub socket
from producers to a proxy and let subscribers connect over TCP/xsub.
However, there is no example code.

Mohit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130114/b112d290/attachment.htm>


More information about the zeromq-dev mailing list