[zeromq-dev] Inproc pub sub query

Sayanshree Ghosh sayanshree at gmail.com
Tue Apr 22 11:11:38 CEST 2014


Hello,

I am just a beginner with zeromq. I read the guide and found its really
cool.
I have faced a problem. May be thats too simple but I cant figure it out.

In the Guide, there is a syncpub-sub code. I need the same thing but for
threads communication. So, I use connect/bind to
zmq_connect (subscriber, "inproc://pubsub");
zmq_connect (syncclient, "inproc://reqrep");

like this.

The sync is working ok, i.e the rep n req socket communication, but not the
pub-sub one. can you please tell me where am i making the mistake? How can
I get inproc pub sub communication?

Please suggest.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140422/b1ea60c2/attachment.htm>


More information about the zeromq-dev mailing list