Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I want to get all IP addresses of all systems connected in network.
Posted
Updated 18-Jan-10 21:57pm
v2

1 solution

Firstly, InetAddress[] getAllByName(java.lang.String)[^] does not do what you are asking. It returns the applicable IP addresses for the system identified by the supplied parameter; reading the javaDoc should help you.

Secondly, the list of all connected devices will be pretty large. Once you go beyond the local network, there's a larger one out there called the Internet and it has a lot of devices attached...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900