[zeromq-dev] [PATCH] Add ZMQ_RCVTIMEO/SNDTIMEO sockopt [was: [PATCH] Add ZMQ_TIMEOUT sockopt]

Fabien Niñoles fabien.ninoles at gmail.com
Sat Jun 11 16:24:32 CEST 2011

You mean, if xrecv/xsend return EAGAIN ?  I can't see how could this
happen with process_command returning 0, but you're probably right, I
will check it.


2011/6/11 Martin Sustrik <sustrik at 250bpm.com>:
> Hi Fabien,
>> And another update where I removed the block parameter;
> I've checked the patch.
> Please, have a look at socket_base_t::send and socket_base_t::recv
> functions. There's process_commands() called in the loop. If the loop
> iterates several times, it may happen that actual timeout will be higher
> that the one requested by the user.
> Martin

More information about the zeromq-dev mailing list