Sending an ICMP Request
Send an Internet Control Message Protocol (ICMP) request, or ping, to determine whether or not a particular host is available.
To send an ICMP request
- Call ICMPCreateFile to create a handle on which requests can be issued.
- Call ICMPSendEcho to send an ICMP echo request. It returns the status of the host.
- Call ICMPCloseHandle to close the handle created by ICMPCreateFile.