RE: emulation of gethostbyaddr to resolve to NetBIOS name
- From: changliw@xxxxxxxxxxxxxxxxxxxx ("Charles Wang [MSFT]")
- Date: Tue, 13 May 2008 14:39:37 GMT
Hi Paul,
Thank you for your clarification.
Actually gethostbyaddr() is not the culprit. As you can see from the KB
article, it is caused by the fact that some services, other than the
Workstation, that Register as Unique with the [00h] entry, will show up in
the NETBIOS Node Status Query response as well as the Machine Name and
unfortunately gethostbyaddr() cannot identify them and so it returns an
incorrect result.
As a possible workaround you had been aware of, I agree that you check the
name and remove "IS~" if it contains the characters.
Also I notice that the KB article only applies to Windows 2000 and earlier
Windows NT systems, could you please let me know if you also encountered
this issue on Windows XP/2003 systems? Anyway since NetBIOS is a very old
technology and the later Windows OS from Vista does not support it very
well. If possible, I recommend that you use DNS instead of NETBIOS.
Please feel free to let me know if you have any other questions or
concerns. Have a nice day!
Best regards,
Charles Wang
Microsoft Online Community Support
=========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
=========================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================
.
- Follow-Ups:
- References:
- RE: emulation of gethostbyaddr to resolve to NetBIOS name
- From: "Charles Wang [MSFT]"
- RE: emulation of gethostbyaddr to resolve to NetBIOS name
- From: Paul
- RE: emulation of gethostbyaddr to resolve to NetBIOS name
- Prev by Date: Re: HTTP server problem when running two clients
- Next by Date: Re: NTP/NetRemoteTOD And a zone of time
- Previous by thread: RE: emulation of gethostbyaddr to resolve to NetBIOS name
- Next by thread: RE: emulation of gethostbyaddr to resolve to NetBIOS name
- Index(es):
Relevant Pages
|
|