Sorry, I mistook.
Gethostbyname() API eventually invokes netbios name resolution,
~~~~~~~~~~~~~~~
Correctly, gethostbyaddr()
so getnameinfo() eventually performs like as gethostbyname().
~~~~~~~~~~~~~~~
Correctly, gethostbyaddr()
From: "Mimic Fox" <mimic31319@xxxxxxxxxxx>
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] Name Resolution
Date: Sun, 27 Apr 2003 01:56:22 +0000
Hi, all.
I have a question about the implementation of name resolution in Ethereal
for Windows.
How to resolve names from srcIPs or dstIPs?
Gethostbyname() API eventually invokes netbios name resolution,
so that Netbios-NS queries are generated when DNS name resolution fails.
Getnameinfo() API can return error when DNS mane resolution fails,
but many Windows OS's don't implement getnameinfo() strictly,
so getnameinfo() eventually performs like as gethostbyname().
I wonder that Ethereal prevents netbios name service queries.
Why is that realized?
Thank you.
================
Mimic Fox
Email: mimic31319@xxxxxxxxxxx
================
Mimic Fox
Email: mimic31319@xxxxxxxxxxx
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus