[jdev] New C# client released under Boost license

stefan sk at synergysky.com
Fri Jan 30 02:55:09 UTC 2015


Nope! I havent. Probably because it's not on the list! :)

Looks good. A bit more serious than my efforts. My clients are so far 
only about working and perform/being stable with prety much the old xmpp 
rfcs. They came to be because of practical errors (and licenses) not 
because i felt i were up to the task of implementing a standard 100%.

Just browsed your code though. It looks good :)
Since i were curious how you solved the 'sax' parsing (i first tried 
using the xmlreader async on the stream itself (from 
tcpclient/sslstream) i digged up your xml parer routines. Looks very 
similair to mine, except you take proper care about namespaces and i 
take care about cdata ;-)

However, I couldnt understand how you feed your parser? I had to make a 
hack (MojsStream) that is a fake-blocking-stream that will block until 
it gets data (or is being destroyed).

Otherwise i ended up with losing data:
"<message>jox</message><messa" ends up as being parsed with an EOF after 
"<messa" resulting in an xml parse error and the "<messa" is lost 
leaving the state UB (i didn't find a way to retrieve the missing bytes 
as i do in eXpat with native dxmpp). By using the semi-blocking stream i 
can make it wait for data or kill it from controller-thread.

/stefan




On 2015-01-30 02:46, Dieter Lunn wrote:
> Not that there isn't more room for different interpretations but have 
> you looked at my implementation at http://github.com/ubiety/xmpp?
>
> On Thu Jan 29 2015 at 6:40:27 PM Stefan Karlsson <sk at synergysky.com 
> <mailto:sk at synergysky.com>> wrote:
>
>     Awesome, please do :-)
>
>     /stefan
>
>     Peter Saint-Andre - &yet skrev den 29/01/15 23:30:
>     > On 1/29/15 10:33 AM, Stefan Karlsson wrote:
>     >> Heya. Just released a very minimalistic client in c#.
>     >> Its well designed webpage is located at
>     >> http://deusexmachinae.se/dxmppnet
>     >
>     > Would you like that added to the client list at xmpp.org
>     <http://xmpp.org>?
>     >
>     > Peter
>     >
>
>     _______________________________________________
>     JDev mailing list
>     Info: http://mail.jabber.org/mailman/listinfo/jdev
>     Unsubscribe: JDev-unsubscribe at jabber.org
>     <mailto:JDev-unsubscribe at jabber.org>
>     _______________________________________________
>
>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20150130/b4d528b8/attachment.html>


More information about the JDev mailing list