I need Java code to detect current connected devices on my network. I tried the following idea: - for all possible addresses, check if this address is connected (cycle 254) - to speed up this process, I created a thread for each check to make them work in parallel
Is there a more efficient way?
Well, there are many ways to detect network devices, and you do not give any details about the nature of your situation.
( ) , , - IP-, ARP . , ARP Java, .