[standards-jig] Asking the server for my IP address

Justin Karneges justin-jdev at affinix.com
Thu Nov 21 01:27:12 UTC 2002


Hi all,

I have a very simple proposal for the server:  it should be possible that the 
client can ask the server what its own IP address is.  This is essential in 
situations where the client cannot determine its real external IP address 
(client is behind NAT), yet another client wishes to directly connect to it 
(say, via JEP-0046: DTCP).

<iq type='get' id='ip_1'>
  <query xmlns="jabber:iq:ipaddr"/>
</iq>

<iq type='result' id='ip_1'>
  <query xmlns="jabber:iq:ipaddr">
    <addr>63.144.97.22</addr>
    <name>dialup1.la.isp.com</name>
  </query>
</iq>

What do others think?

-Justin



More information about the Standards mailing list