Doing this is... a lot of work. Getting the SASL libraries right, and the feature negotiation is difficult.
There are three C# libs out there that already do this. You can look at source code for all of them: - SoapBox Framework - http://www.coversant.com/Products/SoapBoxStudio/Overview/tabid/106/Defau lt.aspx - Jabber.Net - http://code.google.com/p/jabber-net/ - agsXMPP - http://www.ag-software.de/index.php?page=agsxmpp-sdk I would recommend taking a look at how those SDK's are using the .Net SSL Stream class. -- Chris Mullins From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dieter Lunn Sent: Tuesday, July 03, 2007 8:30 AM To: Jabber software development list Subject: [jdev] C# SslStream Issues Hi I am writing a library in C# and I am having issues changing to a secure stream. When I start the authenticate as client and it receives the data and runs it through the xml parser and I get an error. The socket code can be found here: http://xmppnet.googlecode.com/svn/trunk/xmpp/net/AsyncSocket.cs -- Dieter Lunn http://www.coder2000.ca
