On 04 Feb 2003 07:12:16 -0800, Eric Rescorla wrote:

>Are you saying that setsockopt(SO_RCVTIMEO) is broken?

        Yes, I am. Check out SuSv3:

SO_RCVTIMEO
Sets the timeout value that specifies the maximum amount of time an
input function waits until it completes. ... Note that not all
implementations allow this option to be set.

SO_SNDTIMEO
Sets the timeout value specifying the amount of time that an output
function blocks because flow control prevents data from being sent.
.. Note that not all implementations allow this option to be set.

        In other words, portable code should not rely on these options
working. Not just is support spotty and often buggy, but there were
ambiguities in the semantics that have been resolved too recently.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to