Wireshark mailing list archives

Re: Is there a Wireshark call for gethostbyname?


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Thu, 10 Feb 2011 22:58:10 +0100

Hi,

Have a look at epan/addr_resolv.[ch]

Thanks,
Jaap

On 02/10/2011 10:47 PM, Turner, Jay wrote:
I have to link with ws2_32.lib on Windows to get the gethostbyname call
and the getservbyname call. I’m just wanting to display a human-name if
one is in my DNS cache when I dissect. Does Wireshark have preferred
calls in libwireshark.lib so that I don’t have to include winsock2.h and
the library?
Thank you,
Jay Turner


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: