[zeromq-dev] xpub and xsub example

Pieter Hintjens ph at imatix.com
Mon Jan 14 23:14:06 CET 2013

There are a few examples in the Guide:

* espresso - trace pub/sub activity with a proxy
* lvcache - last value cache using XPUB
* wuproxy - proxy server


On Mon, Jan 14, 2013 at 11:10 PM, Mohit Jaggi <mohitjaggi at gmail.com> wrote:
> 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.
> _______________________________________________
> 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