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

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


OK, I would go with a little more specs here, to be more in line with
the normal socket behavior.

- Change the ZMQ_TIMEOUT for ZMQ_RCVTIMEO and ZMQ_SNDTIMEO.
- Value is an uint32 in ms (to be compatible with windows and kept the
implementation simple).
- Default to 0, which would mean block infinitely.
- On timeout, return EAGAIN.

Everything's ok with you ?

Fabien



More information about the zeromq-dev mailing list