I use openssl with TCP and TCP/TLS connection. I send a message to server and 
than I wait for response on select() function.
I know, that sometimes I try to read, when there are no data on SSL buffer. I 
thought, that I must use the BIO_set_nbio to activate the non-blocking I/O 
operation, because, if I dont do it, then when I call the read function, it 
blocks and it will wait until there will be some data in SSL buffer to read.
But for some testing, I remove the BIO_set_nbio function, and it still works. 
When I call BIO_read, it returns with some error code and it doesnt wait for 
data. So it seems its still nonblocking.

I´m confused with this. Can somebody explain me this?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to