What's the best way to ping many network devices in parallel?

后端 未结 6 2206
鱼传尺愫
鱼传尺愫 2021-02-09 09:36

I poll a lot of devices in network (more than 300) by iterative ping.

The program polls the devices sequentially, so it\'s slow. I\'d like to enhance the speed of pollin

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-09 10:40

    Do you need a response from every machine on the network, or are these 300 machines just a subset of the larger network?

    If you need a response from every machine, you could consider using a broadcast address or multicast address for your echo request.

提交回复
热议问题