jQuery in Action, 3rd edition
The moose likes Sockets and Internet Protocols and the fly likes how to get ip address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to get ip address" Watch "how to get ip address" New topic
Author

how to get ip address

raja ramesh
Greenhorn

Joined: Jan 09, 2008
Posts: 25
How to get the ip addresses of in a LAN using java ?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9138
    
    9

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.


[How To Ask Questions On JavaRanch]
 
Have you checked out Aspose?
 
subject: how to get ip address
 
It's not a secret anymore!