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 get available IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "get available IP address" Watch "get available IP address" New topic
Author

get available IP address

Ariffin Ahmad
Ranch Hand

Joined: Aug 16, 2001
Posts: 84
i have a server running in my LAN and i don't know the server address.
i plan to get all available IP addresses in my network and then try to open socket connection to each of them.
on successful connection, i'll assume that IP address is the one I'm looking for.
the problem is, how do i get the available IP Address within my LAN network?...
cheers.....
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
http://www.coderanch.com/t/205721/sockets/java/Determining-computers-network
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get available IP address