Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can I get the details of connected system under LAN

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic