[JDEV] Transport Name resolution..

Thomas D. Charron tcharron at my-deja.com
Mon Jul 12 13:11:52 CDT 1999


  Guys, I have a quickie question about something I really haven't looked at quite yet..  How does jabber handle address <=> real world lookups?  Take these examples:

TwOlf at jabber.jabber.org
Admin at jabber.org
#slashdot at slashnet.jabber.org

    How will these address?  Here's what I'm gathering:

Namespace is per address, aka, Jabber.org means send it to etherx at jabber.org.  You can also append a transport at the top level, Aka: TwOlf at jabber.jabber.org would specifically route it to the transport named 'Jabber' at jabber.org.  Likewise with #slashdot at slashnet.jabber.org, except to the slashnet transport at jabber.org..  Now here's the doozie..  How does it determine this.  Here's my case:

    I have a domain, leagion.tiac.net.  My machine IS leagion.tiac.net, so my Jabber addy would be twolf at leagion.tiac.net.  How does jabber know NOT to route it to the leagion transport on tiac.net, but to the etherx at leagion.tiac.net.  Likewise, would twolf at jabber.leagion.tiac.net resolve corrently?

    I'm about to borrow some more in the source, but it occured to me as I was thinkin..


---
Thomas Charron


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



More information about the JDev mailing list