Article ID: 943515 - Last Review: November 21, 2007 - Revision: 1.2

FIX: The WSAStringToAddress function may succeed even if you pass in an invalid address string on a Windows CE .NET 4.2-based device

On This Page

Expand all | Collapse all

SYMPTOMS

On a Microsoft Windows CE .NET 4.2-based device, you pass an invalid address string to the WSAStringToAddress function. When you do this, the function returns a correct value of 0.

CAUSE

This problem occurs because of a code problem.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE .NET 4.2 Platform Builder Monthly Update (October 2007). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. 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  (http://support.microsoft.com/kb/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 device 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.
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb42-071031-kb943516-armv4.msi7,657,98431-Oct-200719:50
Wincepb42-071031-kb943516-armv4i.msi7,657,98431-Oct-200719:50
Wincepb42-071031-kb943516-mipsii.msi7,672,83231-Oct-200719:50
Wincepb42-071031-kb943516-mipsii_fp.msi7,672,83231-Oct-200719:50
Wincepb42-071031-kb943516-mipsiv.msi7,678,46431-Oct-200719:50
Wincepb42-071031-kb943516-mipsiv_fp.msi7,678,46431-Oct-200719:50
Wincepb42-071031-kb943516-sh3.msi7,632,38431-Oct-200719:50
Wincepb42-071031-kb943516-sh4.msi7,631,87231-Oct-200719:50
Wincepb42-071031-kb943516-x86.msi7,586,81631-Oct-200719:50
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.
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Ws2.lib407,19817-Oct-200705:31Public\Common\Oak\Lib\Armv4\Debug
Ws2.lib354,86817-Oct-200705:31Public\Common\Oak\Lib\Armv4\Retail
Ws2.lib407,85417-Oct-200705:32Public\Common\Oak\Lib\Armv4i\Debug
Ws2.lib355,57217-Oct-200705:32Public\Common\Oak\Lib\Armv4i\Retail
Ws2.lib414,98017-Oct-200705:32Public\Common\Oak\Lib\Mipsii\Debug
Ws2.lib365,46017-Oct-200705:32Public\Common\Oak\Lib\Mipsii\Retail
Ws2.lib415,11217-Oct-200705:33Public\Common\Oak\Lib\Mipsii_fp\Debug
Ws2.lib365,54017-Oct-200705:32Public\Common\Oak\Lib\Mipsii_fp\Retail
Ws2.lib419,54817-Oct-200705:33Public\Common\Oak\Lib\Mipsiv\Debug
Ws2.lib368,15017-Oct-200705:33Public\Common\Oak\Lib\Mipsiv\Retail
Ws2.lib419,68017-Oct-200705:33Public\Common\Oak\Lib\Mipsiv_fp\Debug
Ws2.lib368,23017-Oct-200705:33Public\Common\Oak\Lib\Mipsiv_fp\Retail
Ws2.lib374,56217-Oct-200705:34Public\Common\Oak\Lib\Sh3\Debug
Ws2.lib337,86217-Oct-200705:34Public\Common\Oak\Lib\Sh3\Retail
Ws2.lib374,23817-Oct-200705:34Public\Common\Oak\Lib\Sh4\Debug
Ws2.lib337,50417-Oct-200705:34Public\Common\Oak\Lib\Sh4\Retail
Ws2.lib350,08417-Oct-200705:31Public\Common\Oak\Lib\X86\Debug
Ws2.lib307,28817-Oct-200705:31Public\Common\Oak\Lib\X86\Retail
Wspm.lib80,56617-Oct-200705:31Public\Common\Oak\Lib\Armv4\Debug
Wspm.lib72,29417-Oct-200705:31Public\Common\Oak\Lib\Armv4\Retail
Wspm.lib80,74817-Oct-200705:32Public\Common\Oak\Lib\Armv4i\Debug
Wspm.lib72,39217-Oct-200705:32Public\Common\Oak\Lib\Armv4i\Retail
Wspm.lib80,65617-Oct-200705:32Public\Common\Oak\Lib\Mipsii\Debug
Wspm.lib72,74017-Oct-200705:32Public\Common\Oak\Lib\Mipsii\Retail
Wspm.lib80,67217-Oct-200705:33Public\Common\Oak\Lib\Mipsii_fp\Debug
Wspm.lib72,77017-Oct-200705:32Public\Common\Oak\Lib\Mipsii_fp\Retail
Wspm.lib81,66017-Oct-200705:33Public\Common\Oak\Lib\Mipsiv\Debug
Wspm.lib73,64817-Oct-200705:33Public\Common\Oak\Lib\Mipsiv\Retail
Wspm.lib81,67617-Oct-200705:33Public\Common\Oak\Lib\Mipsiv_fp\Debug
Wspm.lib73,67817-Oct-200705:33Public\Common\Oak\Lib\Mipsiv_fp\Retail
Wspm.lib73,07617-Oct-200705:34Public\Common\Oak\Lib\Sh3\Debug
Wspm.lib67,36217-Oct-200705:34Public\Common\Oak\Lib\Sh3\Retail
Wspm.lib73,00217-Oct-200705:34Public\Common\Oak\Lib\Sh4\Debug
Wspm.lib67,27217-Oct-200705:34Public\Common\Oak\Lib\Sh4\Retail
Wspm.lib66,03017-Oct-200705:31Public\Common\Oak\Lib\X86\Debug
Wspm.lib60,91617-Oct-200705:31Public\Common\Oak\Lib\X86\Retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the WSAStringToAddress function, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms911779.aspx (http://msdn2.microsoft.com/en-us/library/ms911779.aspx)
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft Windows CE .NET 4.2
Keywords: 
kbexpertiseinter kbfix kbpubtypekc kbqfe kbhotfixserver KB943515
 

Article Translations