Microsoft KB Archive/278445

= GetHostByAddress Calls May Not Work on Windows CE =

Article ID: 278445

Article Last Modified on 10/14/2002

-

APPLIES TO


 * Microsoft Windows CE 2.11 for the Handheld PC

-



This article was previously published under Q278445



SYMPTOMS
Calling the GetHostByAddress function in Windows CE 2.11 may not work if you have either the value 10 or 100 included in one of the segments of your IP address.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Microsoft Windows CE 3.0.



MORE INFORMATION
This behavior is caused by a problem in the Windows CE 2.11 TCP/IP stack. The numerical IP address is converted into characters when packets are sent to resolve Domain Name System (DNS) names. However, the conversion does not work if you have either 10 or 100 included in the segments of your IP address. 10 and 100 are incorrectly converted to &quot;:&quot; and &quot;:0&quot; because of a problem in the conversion process.

Incorrect characters in the packet cause DNS name requests not to work, causing the GetHostByAddress function not to succeed. This problem only affects requests to resolve DNS names.

Keywords: kbenv kbprb KB278445

-

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

© Microsoft Corporation. All rights reserved.