Hello Rakesh, sorry no ideas! In my app SslClose returns an error too (4625) but SslContextDestroy and SslLibDestroy returns 0. Have you traced the communication to see what happened ?
Best regards Philippe ----- Original Message ----- From: "Rakesh Pai" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 6:32 AM Subject: Re: SSL problems again...more than one connection fails > Yes. I tried doing the same thing, in the same order. 'SslClose' fails after > 'SslRead'. I get an error called 'sslErrEo' which means "You attempted to > read or write a socket that isn't open.". > > Now, this is obvious because in 'SslClose' the library talks to the server > and closes the connection. Also, 'SslRead' returned '0' just before this > call, which means the server which im talking to has closed the conneciton. > > Keeping this in mind i tried using the macro's > sslError = SslContextSet_DontSendShutdown(sslLibRefUShort, sslContext, > true); > sslError = SslContextSet_DontWaitForShutdown(sslLibRefUShort, sslContext, > true); > > and > > sslError = SslLibSet_DontSendShutdown(sslLibRefUShort, sslContext, true); > sslError = SslLibSet_DontWaitForShutdown(sslLibRefUShort, sslContext, true); > > to avoid any communication between with the server during 'SslClose'. But > after trying this too, 'SslClose' returns the same error(even putting it in > a while loop till 'errNone' doesnt work :-) ) due to which sslError = > SslContextDestroy(sslLibRefUShort, sslContext); fails!. And fails badly at > that, the OS crashes at this point! > Any ideas? :-) > > Rakesh. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
