This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: get available IP address
jQuery in Action, 3rd edition