Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The Timeout parameter for the IcmpSendEcho function does not work as expected in Windows Embedded Compact 7


View products that this article applies to.

Symptoms

Consider the following scenario:
  • 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.

↑ Back to the top


Cause

This problem occurs because the system does not start a timer for the Timeout parameter when an ICMP echo request packet is sent.

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update March 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package
File nameFile sizeDateTimePath
Ipv4.lib2,473,02612-Mar-201217:49Public\Common\Oak\Lib\Armv5\Checked
Ipv4.lib2,550,39212-Mar-201217:48Public\Common\Oak\Lib\Armv5\Debug
Ipv4.lib2,370,61612-Mar-201217:48Public\Common\Oak\Lib\Armv5\Retail
Ipv4.lib2,472,30212-Mar-201217:50Public\Common\Oak\Lib\Armv6\Checked
Ipv4.lib2,550,04012-Mar-201217:50Public\Common\Oak\Lib\Armv6\Debug
Ipv4.lib2,369,79812-Mar-201217:50Public\Common\Oak\Lib\Armv6\Retail
Ipv4.lib2,468,89812-Mar-201217:51Public\Common\Oak\Lib\Armv7\Checked
Ipv4.lib2,546,79012-Mar-201217:51Public\Common\Oak\Lib\Armv7\Debug
Ipv4.lib2,367,94812-Mar-201217:51Public\Common\Oak\Lib\Armv7\Retail
Ipv4.lib2,433,90612-Mar-201217:53Public\Common\Oak\Lib\Mipsii\Checked
Ipv4.lib2,538,26812-Mar-201217:53Public\Common\Oak\Lib\Mipsii\Debug
Ipv4.lib2,340,72212-Mar-201217:52Public\Common\Oak\Lib\Mipsii\Retail
Ipv4.lib2,434,81412-Mar-201217:54Public\Common\Oak\Lib\Mipsii_fp\Checked
Ipv4.lib2,539,17612-Mar-201217:54Public\Common\Oak\Lib\Mipsii_fp\Debug
Ipv4.lib2,341,54812-Mar-201217:54Public\Common\Oak\Lib\Mipsii_fp\Retail
Ipv4.lib2,376,32812-Mar-201217:55Public\Common\Oak\Lib\Sh4\Checked
Ipv4.lib2,448,98812-Mar-201217:55Public\Common\Oak\Lib\Sh4\Debug
Ipv4.lib2,307,98212-Mar-201217:55Public\Common\Oak\Lib\Sh4\Retail
Ipv4.lib2,361,37812-Mar-201217:57Public\Common\Oak\Lib\X86\Checked
Ipv4.lib2,385,60212-Mar-201217:57Public\Common\Oak\Lib\X86\Debug
Ipv4.lib2,280,70412-Mar-201217:57Public\Common\Oak\Lib\X86\Retail

↑ Back to the top


References

For more information about the IcmpSendEcho function, visit the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbpubtypekc, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2678235
Revision : 1
Created on : 1/7/2017
Published on : 4/10/2012
Exists online : False
Views : 200