[jdev] C# SslStream Issues

Dieter Lunn coder2000 at gmail.com
Tue Jul 3 23:28:21 CDT 2007


I have been following the implementation of agsXMPP and Jabber.NET to see
how they did it and afaik I have cloned that part fairly closely.  I don't
use the same stream again I assign the new sslstream to the same variable
the old networkstream was.  If anyone can see what I am doing wrong please
feel free to fix it.

On 7/3/07, Chris Mullins <chris.mullins at coversant.net> wrote:
>
>  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/Default.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:* jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] *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
>



-- 
Dieter Lunn
http://www.coder2000.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070703/fb1531d2/attachment-0002.htm>


More information about the JDev mailing list