[zeromq-dev] Having a problem with ZMQ_REP in C++

Martin Sustrik sustrik at 250bpm.com
Wed Apr 28 08:49:22 CEST 2010


Hi Ray,

> Hi, I have a very simple app that uses ZMQ_REP/ZMQ_REQ. The ZMQ_REQ 
> parts works fine with the server code from the server/client example. So 
> I'm thinking the problem is my Server code.
> 
> It seems to recv() a response from client, and then send the response. 
> However, client does not receive it.
> I'm new to C++ so it could be anything really!

The problem is that both sides are connecting (zmq_connect) rather than 
one side binding and other one connecting.

Martin



More information about the zeromq-dev mailing list