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
-Pieter On Mon, Jan 14, 2013 at 11:10 PM, Mohit Jaggi <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
