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
Any host discovery tool can help you here. In particular Nmap will certainly give you this information although it might be overkill in this situation. Google for "ping scan" and you should get some useful results.