-
High resolution ping for Windows
Posted on December 30th, 2014 No commentsThis little tool can generate sub-millisecond precision ICMP Echo messages. The interval between consecutive packets, the results or the waiting timeout are all in microseconds. The main idea behind this tool is the ICMP packets should be sent at constant interval so waiting for an outsanding message won’t block further messages. For instance, you cannot set packet interval in Windows’ internal ping.exe. Only members of the Administrators group can use this tool since it uses a raw socket. After a successful run the min/max/avg and stdev round trip times are calculated.
This tool is successfully tested on Windows XP and Windows 7 machines. You can download the binary here.
The full source code can be downloaded here. It’s for Delphi or Free Pascal compilers. The HresPing.pas unit can be used in other projects. Successfully tested in Free Pascal 2.6.4 and Delphi 6.