[zeromq-dev] Beginner question with respect to zmq_proxy
Nishant Mittal
nmittal at rblt.com
Wed Dec 26 21:19:29 CET 2012
Hi All,
I have a zmq_proxy device with ROUTER and DEALER in the front and back
(attached code broker.c)
router binds to tcp://*:5551 and dealer binds to tcp://*:6551
the client connects to router with a REQ socket as tcp://nishant:5551 and
worker connects to dealer with a REP socket as tcp://nishant:6551 where
nishant is the hostname of the machine..
the above works fine
however, if I move the client to another machine.. the worker sees the
request but the client doesn't get any response.. what am I doing wrong?
thanks in advance for your help.
--
*Nishant Mittal*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121226/61fa532b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broker.cpp
Type: text/x-c++src
Size: 1411 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121226/61fa532b/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.pl
Type: application/octet-stream
Size: 363 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121226/61fa532b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: worker.pl
Type: application/octet-stream
Size: 394 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121226/61fa532b/attachment-0001.obj>
More information about the zeromq-dev
mailing list