|
If you're having a hard time
finding information about Microsoft's Internet Control Message Protocol (ICMP) API,
get
in line! This was the hardest part of the TJPing project , as MS does not support
or even encourage use of the API, which you must use with Microsoft
Winsock version 1.1 if you want to run a true ICMP ping or traceroute utility. This is because
the Microsoft Winsock version 1.1 doesn't support raw sockets (Winsock v. 2.0
and later does), which are required to run ICMP utilities. For more information, I've included the
Ping example from MarkG's Win 32
Programming Page. It is excellent, simple source code (for Visual C++ 2.0) for a
ping application and can start you on your way. Another resource is the
Microsoft ICMP API
page from the
SOCKETS Winsock Development page,(a definite bookmark for any Winsock developer).
Good luck!
|