I am writing a program where you connect, for various reasons, to other computers in a LAN. However, rather than having to input the IP address for multiple computers (a pai
Can you just look at the IP and subnet mask on the network adapter and ping every address? Whichever ones respond can be queried to see if it has whatever you need to connect.