3 ms·
Anyone know of any good XMPP implementations that lend well to implementing gateways? Preferably in C/C++?
by l_frequency 18y ago
Anyone know of any good XMPP implementations that lend well to implementing gateways? Preferably in C/C++?
- jerf 18y agoYour question is somewhat vague and muddled. Could you clarify what exactly you are asking for? How are you using the term "gateway"?
- l_frequency 18y agoGateway is as is defined in RFC 3920 Section 2.1 "G1 = A gateway that translates between XMPP and the protocol(s) used on a foreign (non-XMPP) messaging network" I don't think my question was not vague at all. It just might be out of the ordinary. Most people are interested in XMPP client implementations. I want a pre-existing open-source project that would be a good first step towards building an XMPP gateway.
- jerf 18y agoOK, I wanted to make sure that you were indeed asking for that. While you are correct that "gateway" is well-defined, most of the time I see it, it is misused or used vaguely. So, I can help you out. The only library that I know of that is designed specifically for the purpose of implementing gateways is Thrasher Bird: http://developer.berlios.de/projects/thrasher/ http://developer.berlios.de/projects/thrasher/ (git at http://repo.or.cz/w/thrasher.git http://repo.or.cz/w/thrasher.git ). I am the lead developer of that library. While the "sales pitch" is that it wraps libpurple, it is actually designed so that the "gateway" part of the library is separate from the "protocol" part of the library, unlike every other gateway I've seen. It's in Perl, and it's still a bit alpha-ish, but it is also exactly what you are looking for and in active development, so you'll have to decide whether that meets your needs. If you're interested in more information or need help, contact me at jbowers@barracuda.com . Compiling may be a bit of a chore, but I've managed it on a couple of different Linux systems now.
- jerf 18y agoActually, now that I think about it, the only thing the C code is there for is libpurple support; it's all Perl and there's no compilation you'd need to do at all if you don't want to use libpurple.
- icepick 18y agohttp://code.stanziq.com/strophe/ http://code.stanziq.com/strophe/ is probably a good start.