List the IP Address of all computers connected to a single LAN

后端 未结 5 2240
[愿得一人]
[愿得一人] 2020-12-03 11:57

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

5条回答
  •  不知归路
    2020-12-03 12:32

    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.

提交回复
热议问题