• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get my dial-up IP address?

 
simen wu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My computer has a static IP in the local network. When I dial up to visit Internet, the ISP will give me a new IP address. My question is, in Java how to get this new IP address?
I find that it will return my static IP address when I use InetAddress.getLocalHost().
Can anyone give me some help?
 
Van Glass
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Unfortunately this is not supported in Java
------------------
JScape - Java Network Components www.jscape.com
 
netharam ram
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,I have a small doubt.If we can't find the new IP address how does instant messengers work,or is it impossible to develop an instant messenger in java?Please clear this for I'm under the idea of developing an instant messenger.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic