Hello, I'm having problem with BIO_do_connect, when trying to setup
non-blocking behaviour for it.

When using:
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_set_nbio(m_pBio,0);  //returns 1
BIO_do_connect(m_pBio); //returns 1
it works just fine,...

.. but with non blocking:
BIO* pBio = BIO_new_connect((char*)conn.c_str());
BIO_set_nbio(m_pBio,1);  //returns 1
BIO_do_connect(m_pBio); //returns -1

It doesn't connect. Why could that be? Any idea please.

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

Reply via email to