ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Is there a Wireshark call for gethostbyname?

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
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