The gethostbyname() function may not resolve names that start with a numeric character (817859)
The information in this article applies to:
- Microsoft Windows CE Operating System, Versions 3.0
- Microsoft Windows CE .NET 4.0
- Microsoft Windows CE .NET 4.1
- Microsoft Windows CE for Pocket PC 2002
- Microsoft Windows Mobile 2003 for Pocket PC
SYMPTOMSThe Windows Socket gethostbyname() function may not succeed if the host name parameter begins with a numeric character. When the function cannot resolve the host name, WSAGetLastError() returns the following error code: 11001 (WSAHOST_NOT_FOUND) On a device that is based on Microsoft Windows CE for Pocket PC 2002, and if the machine name of the server begins with a numeric character, you cannot synchronize with the ActiveSync server. For users of Platform Builder version 4.1, the problem is resolved by a hotfix.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
329101
The GetHostbyName function does not work with a host name string that contains international characters
WORKAROUNDYou can work around this issue on the following products: - Microsoft Windows CE for Pocket PC 2002
- Microsoft Windows CE 3.0
- Microsoft Windows CE .NET 4.0
- Microsoft Windows CE .NET 4.1
To work around this problem, use an alphabet character as the first character in the machine name scheme in the network. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.
This problem was corrected in Microsoft Windows CE .NET 4.2 and Microsoft Windows Mobile 2003 for Pocket PC.
Modification Type: | Major | Last Reviewed: | 4/5/2004 |
---|
Keywords: | kbprb KB817859 kbAudDeveloper |
---|
|