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

Steven McCoy steven.mccoy at miru.hk
Mon May 23 21:18:58 CEST 2011


2011/5/24 Fabien Niñoles <fabien.ninoles at gmail.com>

> 2011/5/23 Pieter Hintjens <ph at imatix.com>:
> > Interesting stuff. Would it perhaps be better to use SO_RCVTIMEO and
> > SO_SNDTIMEO?
>
> A little bit more difficult but doable... How this option is wide
> spread accross OS ?
>

Linux & Windows are OK albeit different format options, one is an int the
other a timeval.  Sun Solaris has no support, probably similar with HP/UX
and AIX.

I use these options for a HTTP server:

http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/http.c#144

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110524/9ad7efbb/attachment.htm>


More information about the zeromq-dev mailing list