The server is not sending a response because it does not receive the
value... I changed for PUSH/PULL sockets and the problem is gone.

Is it possible fore REQ/REP sockets to loose packets ?

The problem is totally reproducible: REQ/REP hangs after some time,
PUSH/PULL never hangs.

Gaspard

PS: using 2.1.0

On Mon, Jan 10, 2011 at 9:19 AM, Martin Sustrik <[email protected]> wrote:

> On 01/09/2011 10:32 PM, Gaspard Bucher wrote:
>
>  ======= Receiving code (in another process) :
>>
>>     zmq_msg_t msg;
>>     zmq_msg_init(&msg);
>>
>>
>>     { // unlock worker
>>       ScopedUnlock unlock(worker_);
>>
>>       if (zmq_recv(socket_, &msg, 0)) { // <<<<< Hangs here
>>         zmq_msg_close(&msg);
>>         throw_recv_error(errno);
>>       }
>>     }
>>
>> Any idea on what could cause these dropped messages ?
>>
>
> Looks like you server is not sending a response.
>
> Martin
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to