This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: get available IP address
 
Similar Threads
Problem accessing Tomcat from outside my LAN !
SocketException
RMI lookup
J2se server and J2me client
iptables firewall