Advertisement
5_2007-2008 Windows API Call/ Explanation #181646

asynchronous Fast multi ping

asynchronous Ping of multiple Hosts using the IcmpSendEcho2 function It looks a bit like multithreading. And it is impressive, how less time is needed to ping up to 100 or more hosts. (i tried 15 class C subnets (=over 3000 hosts), with 5 percent hosts online in 60 seconds) Why IcmpSendEcho2 and not the standard IcmpSendEcho ? If you use IcmpSendEcho your computer seems to be locked, while trying to get a ping response. Because IcmpSendEcho is working synchronous, this means that the Caller has to wait for the Result. IcmpSendEcho2 works asynchronous. So you can start to ping an do something else. This is a tribute to LiTe's fast ParaPing(the basic idea). Except I use ICMP instead of a specific port. Comments are welcome

AI

Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Mã nguồn
original-source
Upload
Bình luận gốc (3)
Được khôi phục từ Wayback Machine