..msdn Add comment W32 Constants Translate this page
Sends an ICMP Echo request and returns any replies. The call returns when the time-out has expired or the reply buffer is filled.|
DECLARE INTEGER IcmpSendEcho IN icmp;
STRING @ RequestData,;
STRING @ RequestOptions,;
STRING @ ReplyBuffer,;
[in] Open handle returned by IcmpCreateFile.
[in] Destination of the echo request, in the form of an IPAddr structure.
[in] Buffer that contains the data to send in the request.
[in] Size of the request data buffer, in bytes.
[in] Pointer to the IP header options for the request, in the form of an IP_OPTION_INFORMATION structure. May be NULL.
[in, out] Buffer to hold any replies to the request. Upon return, the buffer contains an array of ICMP_ECHO_REPLY structures followed by the options and data for the replies.
[in] Allocated size of the reply buffer, in bytes.
[in] Time to wait for replies, in milliseconds.
|Returns the number of ICMP_ECHO_REPLY structures stored in ReplyBuffer.|
|IcmpSendEcho is available in icmp.dll on Windows 2000; it is available in iphlpapi.dll on later versions of Windows. OS version checking is not recommended. |
The IcmpSendEcho2 function sends an ICMP Echo request and returns either immediately (if Event or ApcRoutine is non-NULL) or returns after the specified time-out. The ReplyBuffer contains the ICMP responses, if any.
|Word Index links for the IcmpSendEcho :|
|Translate this page:|
Visited in last 7 days: 22
|Created: ||2005-04-12 12:13:37|
|Modified: ||2005-04-12 12:17:14|