[zeromq-dev] ZMQ C++ Send and Receive to-from specific worker

Roshan Mehta gmate.sunny at gmail.com
Wed Jun 28 14:12:11 CEST 2017


I am new to ZMQ but I read the 3 chapters of ZMQ guide once.

I am using *(Client)REQ--ROUTER--(Worker)ROUTER* Socket. I could able to
send the Client request to the particular worker but unable to send the
response back to Client and as it's an REQ socket hence the client hangs
waiting for a response.

Tried a lot but failed to resolve.

My code is here: https://pastebin.com/yGUCdXGC

I have also asked it at https://stackoverflow.com/
questions/44621790/zmq-c-send-and-receive-from-specific-workerbut no one
has answered.

Please let me know what is wrong I am doing or better approach.
Regards,
KumarRoshan Mehta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170628/5d9ddfb1/attachment.htm>


More information about the zeromq-dev mailing list