Md Lazreg wrote: > On UNIX the select will return after signaling the write set > [ as documented]. > On Windows the select will return after signaling the _error_ > set [The MSDN documentation says that you need to check the write set].
That makes no sense. > My problem was that my select was checking only for write-ability > [which is what the documentation says for both Windows and UNIX]. > So on Windows I was forced to timeout while on UNIX I was returning > immediately. Your code was correct. > Now I changed my select to check for both write-ability and > error-ability on Windows. Then I call getsockopt which returns > WSAECONNREFUSED as I have been expecting. That makes no sense. I'm glad it's working for you, but that doesn't make any sense. What does your code do now if the server is overloaded and cannot accept a connection immediately? DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org