The gethostbyaddr function returns the host name of a WINS server unexpectedly on a Windows Embedded CE 6.0 R3-based device


Symptoms




Consider the following scenario:
  • You have a Windows Embedded CE 6.0 R3-based device.
  • You configure a Windows Internet Name Service (WINS) server on the device to use a static IP address.
  • An application calls the gethostbyaddr function to query the host name of a specified IP address.
In this scenario, the gethostbyaddr function returns the host name of the WINS server unexpectedly.

Note This issue does not occur if you configure the WINS server to obtain a dynamic IP address through Dynamic Host Configuration Protocol (DHCP).

Resolution


Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (March 2011). 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 Embedded 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 Embedded CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder products


Note This Windows Embedded CE 6.0 Monthly Update is also available for download from the following Microsoft Download Center website:

Prerequisites

To apply this software update, you must have all previously issued software updates for this product installed.

Restart requirement

After you install this software 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 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.
Installer files
Wincepb60-110325-kb2514361-armv4i.msi1,327,10425-Mar-201118:27
Wincepb60-110325-kb2514361-mipsii.msi1,287,68025-Mar-201118:27
Wincepb60-110325-kb2514361-mipsii_fp.msi1,287,68025-Mar-201118:27
Wincepb60-110325-kb2514361-mipsiv.msi1,300,48025-Mar-201118:27
Wincepb60-110325-kb2514361-mipsiv_fp.msi1,300,99225-Mar-201118:27
Wincepb60-110325-kb2514361-sh4.msi1,266,17625-Mar-201118:27
Wincepb60-110325-kb2514361-x86.msi1,209,85625-Mar-201118:27
Files that are included in this hotfix package
Windows embedded ce 6.0_update_kb2514361.htm7,64425-Mar-201118:22110325_kb2514361
Afdlib.lib1,571,28216-Mar-201114:39Public\Common\Oak\Lib\Armv4i\Debug
Afdlib.lib1,006,78016-Mar-201114:39Public\Common\Oak\Lib\Armv4i\Retail
Afdlib.lib1,493,91216-Mar-201114:40Public\Common\Oak\Lib\Mipsii\Debug
Afdlib.lib983,78016-Mar-201114:39Public\Common\Oak\Lib\Mipsii\Retail
Afdlib.lib1,494,03816-Mar-201114:40Public\Common\Oak\Lib\Mipsii_fp\Debug
Afdlib.lib983,99816-Mar-201114:40Public\Common\Oak\Lib\Mipsii_fp\Retail
Afdlib.lib1,511,89816-Mar-201114:40Public\Common\Oak\Lib\Mipsiv\Debug
Afdlib.lib1,000,64416-Mar-201114:40Public\Common\Oak\Lib\Mipsiv\Retail
Afdlib.lib1,512,02416-Mar-201114:41Public\Common\Oak\Lib\Mipsiv_fp\Debug
Afdlib.lib1,000,86216-Mar-201114:41Public\Common\Oak\Lib\Mipsiv_fp\Retail
Afdlib.lib1,330,91816-Mar-201114:41Public\Common\Oak\Lib\Sh4\Debug
Afdlib.lib911,19616-Mar-201114:41Public\Common\Oak\Lib\Sh4\Retail
Afdlib.lib1,314,38016-Mar-201114:39Public\Common\Oak\Lib\X86\Debug
Afdlib.lib894,77016-Mar-201114:39Public\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 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