VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



asynchronous Fast multi ping

by Wallonso (5 Submissions)
Category: Windows API Call/Explanation
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Inputs
see readme
API Declarations
see code

Rate asynchronous Fast multi ping

Download asynchronous Fast multi ping

Download asynchronous Fast multi ping (84 KB)

asynchronous Fast multi ping Comments

No comments have been posted about asynchronous Fast multi ping. Why not be the first to post a comment about asynchronous Fast multi ping.

Post your comment

Subject:
Message:
0/1000 characters