This program implements the ICMP Echo Request message (commonly known as PING) to check the on-line status of an Internet host, and TTL to trace the route to the Internet host.
The .zip file contains the source for EWDPing as well as the source for the EarthWalk Design classes:
The program also makes use of a system timer to prevent "hanging" on a non-responsive gateway. Timer operations are discussed in the MFC Timers tutorial.
This is a demonstration program and, as such, probably contains some logic flaws. There are still a number of functions which could be added to improve the user interface, but that was not the purpose of this program. Its' sole purpose is to demonstrate the useage of the CIcmp class.
Documentation for the functions and variables are presented within the programs' source.
Use it in good health, and please let me know if it was useful. If you make improvements or fixed problems, please drop me an e-mail describing your changes at
I will try to incorporate them into this package so that others may benefit from your improvements.
Enjoy!