Consider the following scenario:
In this scenario, the IcmpSendEcho function does not return a response that indicates a time-out status immediately at the time when the request times out.
Note You can reproduce this problem by using the ping.exe tool on your device. You may notice that the Timeout parameter (-w) for the ping command does not work as expected.
- You have an application that is running on a Windows Embedded Compact 7-based device.
- The application calls the IcmpSendEcho function to send an Internet Control Message Protocol (ICMP) echo request to determine whether a device is available on the network.
- The application specifies the Timeout parameter for the IcmpSendEcho function and sends a request to a device that is available on the network.
- The application receives the response from that device. You disconnect the device from the network and send the same request to the IP address of that device again.
In this scenario, the IcmpSendEcho function does not return a response that indicates a time-out status immediately at the time when the request times out.
Note You can reproduce this problem by using the ping.exe tool on your device. You may notice that the Timeout parameter (-w) for the ping command does not work as expected.