Md Lazreg wrote:

> I do not know why you think my new change allows me to detect soft
> failures. The only change I made is to change this:

> status = select(m_sock_fd+1, NULL, &WriteSet, NULL, &tv);

> to this:

> status = select(m_sock_fd+1, NULL, &WriteSet, &ErrorSet, &tv);

> Are you saying that for a soft failure, Windows will still put
> the socket in the ErrorSet?

How is your 'ErrorSet' constructed?

And you're asking the wrong question. The question you should ask yourself
is -- how can there be a hard error yet the socket not yet be ready for
writing? What could I possibly still be waiting for?

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to