File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes how can I get the details of connected system under LAN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how can I get the details of connected system under LAN " Watch "how can I get the details of connected system under LAN " New topic
Author

how can I get the details of connected system under LAN

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
hi all..

I am developing an application in which as soon I enter the domain name then it should display all the connected system's ip & name of the computer and if enter the ip/name of a system then details of the installed s/w should display.

I have to execute this app on windows system

thankx
Roshini Sridharan
Ranch Hand

Joined: Jan 16, 2001
Posts: 143
Its possible to get the IPAddress of all the machines in LAN given the Subnet mask and the Starting no. of the IP as below

For Eg if subnet mask is 255.255.255.0 and IP address starts with 192.113.2.XXX

Loop thru 192.113.2.1,192.113.2.2......till 192.113.2.255 with proper Exception handler.

Hope this helps.

Regards
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Not a good idea if your security department runs intrusion detection - it looks like a port sniffer. Just say I learnt this one the hard way.

"Chango nix",
Sorry but your display name is still not valid. Please see the thread here and try again.

Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can I get the details of connected system under LAN