[zeromq-dev] [PATCH] Add ZMQ_RCVTIMEO/SNDTIMEO sockopt [was: [PATCH] Add ZMQ_TIMEOUT sockopt]
Martin Sustrik
sustrik at 250bpm.com
Sat Jun 11 14:50:41 CEST 2011
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