Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to detect all machines connected (via LAN ) to a single machine?

 
Arthy Vijayaraghavan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody,
is there any way in java by which a system can automatically detect all the other systems connected to it via LAN?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "connected"? Reachable by TCP/IP? You can do a port scan on every IP address on your (and other) subnets, but be aware that this may be frowned upon by system administrators, not to mention the owners/users of those machines.
 
Arthy Vijayaraghavan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
s i meant TCP/IP. and thanks for the reply..
 
Skool. Stay in. Smartness. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!