File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 8997
    
    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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get ip address