aspose 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 Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "get available IP address" Watch "get available IP address" New topic

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?...
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I agree. Here's the link:
subject: get available IP address