File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure 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
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
s i meant TCP/IP. and thanks for the reply..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic