Microsoft KB Archive/917549

= FIX: The FtpGetFile function may not time out as expected when network connectivity with the FTP host is lost in Windows CE 5.0 =

Article ID: 917549

Article Last Modified on 7/26/2006

-

APPLIES TO


 * Microsoft Windows CE 5.0

-





SYMPTOMS
In Microsoft Windows CE 5.0, the WinInet function FtpGetFile may not time out as expected when network connectivity with the FTP host is lost. The expected time-out period is set by providing a millisecond value for the INTERNET_OPTION_RECEIVE_TIMEOUT option type in a call to the InternetSetOption function.



CAUSE
This problem occurs because WinInet functions, such as the FtpGetFile function, internally use a second thread to close the socket handle when a particular time-out period expires. When another thread closes a network socket handle, the recv function of the socket does not immediately return because of a code defect. This software update fixes this code defect.



Software update information
A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 917549. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

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

Restart requirement
After you apply this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.

The English version of this software update 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.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbfix kbqfe kbpubtypekc KB917549

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.