aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Getting information in the LAN Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Getting information in the LAN" Watch "Getting information in the LAN" New topic
Author

Getting information in the LAN

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 192
Hi all,
I have a LAN connection having two computers.I have an application running on a computer.The application needs some information of other computer like ip address,mac address,DNS name,OS name and version,subnet mask,default gateway.How should i do this?The other computer should broadcast its information or the first computer poll the othet one to send its information?

with regards,
ajse
Mahmoud Abd-El Sattar
Greenhorn

Joined: Aug 30, 2006
Posts: 2
It is better to keep the machine which will provide its information waiting on specified socket, and any another machine needs to get this information, should contact it using this openned socket.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Getting information in the LAN
 
Similar Threads
remote desktop application
Access Compute Name on windows XP
RMI Question
Retrieving IP address from a LAN
want to run my swing application on local area network?