I think you can read this article and it will be help. http://www.lenholgate.com/blog/2002/11/using-openssl-with-asynchronous-sockets.html
On Mon, May 23, 2011 at 4:59 PM, Harshvir Sidhu <hvssi...@gmail.com> wrote: > David, > So are you suggesting that i change the approach in my Code. My > application is for Windows and in Managed C++. In that i am using Callback > function for receive, when the callback function is called, and when i call > SSL_read in that, it hangs at recv call in the OpenSSL code, my assumption > is that data was already read from socket, when callback was called. Another > thing i would like to mention is I am using Sockets Managed Class, not the > native sockets. > > >> > >