..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: 16
|Created: ||2005-04-12 12:13:37|
|Modified: ||2005-04-12 12:17:14|
Copyright © 2001-2017
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.6.37), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.