Re: A bio pairs question...

2005-11-29 Thread Usman Riaz
Thanks for the reply Alain, I have changed as you mentioned by placing a call to do a read on s_ssl_bio (for reading/writing UNEncrypted Data). Here is how that function looks like... bool CSSLSession::GetData(std::string& RecvData) { /*The RecvData WILL contain UN-ENCRYPTED-DATA tha

Re: A bio pairs question...

2005-11-29 Thread Alain Damiral
Hi there, You might have missed one thing in ssltest.c... there is a first call to BIO_read on the server side before any data is available. Before that call, the read request on server_io is actaully 0. After the call to BIO_read, then some data is requested. So if you're using read request,

A bio pairs question...

2005-11-29 Thread Usman Riaz
Hi*! I am implementing IOCP server (for Windows OS) supporting SSL. For SSL part i am trying to use OpenSSL's bio pairs. I have looked at the example in ssltest.c. As i understand (please correct me if i am wrong) of the three bios (s_ssl_bio, server, server_io) that get created in "doit_bio