aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes how to detect all machines connected (via LAN ) to a single machine? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to detect all machines connected (via LAN ) to a single machine?" Watch "how to detect all machines connected (via LAN ) to a single machine?" New topic
Author

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

Arthy Vijayaraghavan
Greenhorn

Joined: Feb 28, 2006
Posts: 2
hello everybody,
is there any way in java by which a system can automatically detect all the other systems connected to it via LAN?


Arthy V
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39577
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
Arthy Vijayaraghavan
Greenhorn

Joined: Feb 28, 2006
Posts: 2
s i meant TCP/IP. and thanks for the reply..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to detect all machines connected (via LAN ) to a single machine?
 
Similar Threads
LAN ID from the servlet
how to get ip addresses of clients under LAN
IP address of my computer
how to get system information(like ram size,OS,OS version) using ip address in java