• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get ip address

 
raja ramesh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get the ip addresses of in a LAN using java ?
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TCP/IP does not support a way to query a network to find host addresses.
Iterating through IP addresses, pinging to find active addresses is usually seen by network administrators as a threat, and is frowned upon.
There are protocols built on top of TCP/IP,Jini, for example , which do make it possible to discover network resources.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!