[jdev] How to do SASL authentication in C/C++

Remko Tronçon remko at el-tramo.be
Tue Nov 11 08:41:38 CST 2008


> This is how far I have gotten  (c1 means client 1 and s1 means server
> response1):

What are you basing yourself on to send all this? Have you even read
the XMPP standard specification? What you are sending is certainly not
standards-compliant, so I wouldn't have high hopes of getting it to
work by just guessing what you have to do to get authenticated with a
server.

I suggest to either thoroughly read RFC 3920 and 3921 before writing
your own client, or instead to use an XMPP library (which sounds much
more useful in your case).

cheers,
Remko



More information about the JDev mailing list