A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Sockets and Internet Protocols
Author
how can I get the details of connected system under LAN
Vijay Kumar
Ranch Hand
Joined: Jul 24, 2003
Posts: 260
posted
Jan 31, 2005 02:21:00
0
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
posted
Feb 01, 2005 00:01:00
0
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
I like...
posted
Feb 01, 2005 08:37:00
0
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
Similar Threads
how can i bind my server socket to the ip address
Read Client IP Address behind Proxy
To Retrieve Username
How to connect internet on RHEL 5.1?
how to get the details connected syatems
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter