Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
xishan #1
Member since Aug 2006 · 8 posts
Group memberships: Members
Show profile · Link to this post
Subject: how to add Jabber Transport or Gateway
One of the distinguishing characteristic of Jabber technologies is the existence of gateways (also called "transports") between the Jabber network and legacy instant messaging services such as AOL Instant Messenger (AIM), ICQ, MSN Messenger, and Yahoo! Messenger.
I want to use this characteristic in my client. i am using agsxmpp sdk for c# to build this IM. can anybody out there can tell me how to add this feature in your IM. To develop my client i get lots of help from MiniClient. But there is no feature for Transport or Gateway.
Please give me some examples of code if you know something about it.
thnx
Xishan Shigri
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
Hello xishan,

there is really not much you need to add for gateway/transport support. You will find also lots of other threads in the forum about that.

The idea of the gateways is to convert a legacy protocol like MSN to XMPP. So for your client it is exactly the same if you send a message to a XMPP user or to a MSN user. Only the To property in the message is different. The conversion is done by the server (gateway) and not your client.

small sample:
  • you have a XMPP server configured to the domain myserver.net
  • on this server you run a ICQ transport and a MSN transport. Normally you configure this transports to the sub-domains icq.myserver.net and msn.myserver.net
  • register this both transorts in your client
  • now you can add users and exchange messages with them. If you add a icq user the XMPP Jid would be 12345678@icq.myserver.net, and for a MSN user it would be user%hotmail.com@msn.myserver.net

So the only difference are the XMPP user IDs (called Jid), and especially the MSN Id's where the '@' must be replaced with '%'.
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS