[zeromq-dev] [PATCH] Add ZMQ_TIMEOUT sockopt.

Fabien Niñoles fabien.ninoles at gmail.com
Mon May 23 21:37:27 CEST 2011

> The reason for matching existing names is familiarity. In fact you'd
> use ZMQ_RCVTIMEO / ZMQ_SNDTIMEO (I guess) and make the semantics work
> the right way, whatever the OS.
> Also, I'd recommend to just use an int value, for simplicity...
> You're not depending on the OS for the timeout functionality, are you?

Right now, no.  It a loop quite similar to the one used in zmq_poll
IIRC.  With RCVTIMEO/SNDTIMEO, it would be very different however, and
I couldn't used it in the Windows implementation because of the crappy
behavior.(but whatever, I already write the code down, so no trouble

See my previous message on what I want to do next.

More information about the zeromq-dev mailing list