XMPP Programmer's Tips and Tricks

From XMPP WIKI
Revision as of 00:52, 17 December 2020 by Neustradamus (talk | contribs) (Neustradamus moved page Jabber Programmer's Tips and Tricks to XMPP Programmer's Tips and Tricks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General

Having an XMPP client available that has a XML console is a really good thing! In example Exodus has a nice console (press F12), but there are many other possibilities, too.

For C and C++ users

XML parsers For c and c++ expat (MIT license) is a good choice. The libxml2 (MIT license) has strange SAX behaviour, as a XMPP stream is something like an unfinished XML document this is not good.

Xerces-C is a good xml parser for xmpp. It may be a bit heavy, but it supports sax and dom.

Windows GUI programmers

Do you know about blocking and non blocking sockets? Do you know WSAAsyncSelect() and threads? No? Then you should consult in exmaple tangentsoft's wskfaq first!