network

how can write java program that list computers connected to a local network
[82 byte] By [ranjithmenona] at [2007-10-3 4:32:35]
«« JMenu
»» jvm monior
# 1

Generally - no way. And this is very often question.

What kind of computer resources do you want to list? Shared folders? HTTP servers? Game servers? HW itself? Pingable host? Do you want to list network printers also? SNMP devices? What is bound of your network - are some hosts behind switches or firewals?

What do you want to do exactly?

Michael.Nazarov@sun.coma at 2007-7-14 22:36:07 > top of Java-index,Core,Core APIs...
# 2
Actually, many of us want to do it. As for me - I need iterating the resources (shared folders) over a simple local area network of about 500 computers.
MaxBuzza at 2007-7-14 22:36:07 > top of Java-index,Core,Core APIs...
# 3
For shared folders use SAMBA. Or OS dependent solutions like reading from /net directory.
Michael.Nazarov@sun.coma at 2007-7-14 22:36:07 > top of Java-index,Core,Core APIs...