Hi Rakesh, have you already tested this way to close the SSL connection ? SslClose( SslLibRefnum, context, sslCloseUseDefaultTimeout, 0); SslContextDestroy( SslLibRefnum, context ); SslLibDestroy( SslLibRefnum, contextTemplate );
Maybe the last function call is only necessary when quitting the app. In my app this works fine, even when establishing the second SSL connection with another server. Best regards Philippe ----- Original Message ----- From: "Rakesh Pai" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, November 14, 2003 2:49 AM Subject: SSL problems again...more than one connection fails > Hi All, > I managed to get the SslLib.lib working. Thanx for ur help in reaching > there. :-) > But it seems the Lib doesnt work as documented. I need to make 2 or more ssl > connections one after the other, but im having problems when i try to do > that. The Api's start failing such that the simulator crashes many times. > After successfully making a ssl connection and getting a response, i need to > make successive ssl connectioins to other servers. For which i assumed i > would have to close the session and destroy the context(the documentation > says the same context may be used btw). Ive tried all permutations and > combinations so far , but somehow after the first successful read (using > SslRead) 'SslClose' fails(putting it in a loop also doesnt work). Due to > this the other Api's like SslContextDestroy and all the others fail too. > Have u guys faced similar problems, if yes pls let me know the way out. > > Thanx, > Rakesh > > > "Reality is an illusion, although a persistent one" > ~ Albert Einstein ~ > > "Temporary constructs of a feeble human > intellect trying desperately to justify an > existence that is without meaning or > purpose" > ~Agent Smith~ > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
