On 05/23/11 1:59 AM, Harshvir Sidhu wrote:
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.

if you are working in Windows "Managed" space, why not use the Windows native SSL functionality? I believe thats provided by SSPI and its Schannel support. http://msdn.microsoft.com/en-us/library/aa380493(v=vs.85).aspx <http://msdn.microsoft.com/en-us/library/aa380493%28v=vs.85%29.aspx> http://msdn.microsoft.com/en-us/library/aa380123(v=VS.85).aspx <http://msdn.microsoft.com/en-us/library/aa380123%28v=VS.85%29.aspx>

--
john r pierce                            N 37, W 123
santa cruz ca                         mid-left coast

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

Reply via email to