[jdev] Jabber, firewall and C++ api

Norman Rasmussen norman at rasmussen.co.za
Fri May 19 05:01:50 CDT 2006


On 5/19/06, Karim Bernardet <karim.bernardet at gmail.com> wrote:
> I think I should use now the Jabber protocol because it has some ways to "bypass"
> firewall, am I wrong ?
If you use Jabber then both the client and server would make
'outgoing' connections to some server - assuming the server is outside
of course.  You could make both the client and the server use the same
jid, and just have them login as two seperate resources (eg:
jid at host/client and jid at host/server)

> if it is possible, is there a C++ api I can use
> for that (gloox ? iris ?) ?
Iris should work fine - I've dug around it in because of Psi.  I
haven't seen/used gloox - but it would probably work fine too.

You might want to look at using JEP-0009 [1] for passing messages back
and forth, but otherwise you could use iq's with a custom namespace.

[1] http://www.jabber.org/jeps/jep-0009.html

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list