how can I find the adress of all connected machines to the network,with InetAdress and thanks for any help

Recommended Answers

All 2 Replies

Realistically I don't think you can. If machines on the network chose not to talk to you then you can't find them. You can use the "ping" protocol to find machines that are happy to respond to a "ping", but that's about as far as it goes.

... but if you have access to the DHCP/local DNS server for the network you may be able to get a list from the server's user interface somehow???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.