Microsoft KB Archive/829928

= You cannot use the inet_addr function to obtain the IP address of a computer name that has multi-byte characters =

Article ID: 829928

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Visual Studio 6.0 Enterprise Edition

-





SYMPTOMS
If a computer name is in multi-byte characters, you cannot use the inet_addr function to obtain the IP address.



CAUSE
When you use the Java.IO.InetAddress class and the INetAddress.cpp component ASCII buffers may not be allocated with sufficient size and your program returns a 0.0.0.0 IP address.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.Microsoft is researching this problem and will post more information in this article when the information becomes available.

Keywords: kbbug kbqfe kbpending KB829928

-

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

© Microsoft Corporation. All rights reserved.