PRB: WSACleanUp() Access Violation Occurs If Host Name Longer Than 54 Characters (311815)
The information in this article applies to:
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q311815 SYMPTOMS
When you run gethostbyname(), gethostbyaddr(), or gethostname() on a Windows NT 4.0-based computer, the API returns the correct information. However, when you call WSACleanUp(), an access violation occurs and the program fails.
NOTE: This problem does not occur on Windows 2000.
RESOLUTION
To avoid this problem, do not use host names that contain more than 54 characters.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 12/10/2001 |
---|
Keywords: | kbAPI kbDSupport kbprb kbWinsock KB311815 |
---|
|