[Winpcap-users] basic_dump example
Gianluca Varenni
gianluca.varenni at cacetech.com
Tue May 26 10:26:20 PDT 2009
The reason behind this requirement is that in order to list the adapters we need to
1. start the underlying kernel driver if it's not already running and
2. communicate with the driver to get some information from each adapter.
Hope it helps
GV
----- Original Message -----
From: Mikael Hillborg
To: winpcap-users at winpcap.org
Sent: Sunday, May 24, 2009 2:10 AM
Subject: Re: [Winpcap-users] basic_dump example
Guy Harris wrote:
On May 23, 2009, at 5:37 AM, Mikael Hillborg wrote:
The line:
pcap_findalldevs_ex(PCAP_SRC_IF_STRING, NULL, &alldevs, errbuf)
returns -1 and the app then exits with
fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);
What's the full message that it prints? (I.e., what's in errbuf?
Hi,
My mistake, I didn't run the app as administrator. I'm a little surprised though that it's not even possible to enumerate the devices without running the app as administrator.
Regards
Mikael
------------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090526/1fbc5282/attachment-0001.htm
More information about the Winpcap-users
mailing list