• 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: 42968
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic