[Winpcap-users] basic_dump example

Mikael Hillborg mikael at hillborg.se
Sat May 23 05:37:04 PDT 2009


Hi,

I installed winpcap 4.1beta5 and built the basic_dump example with 
Visual C++ 2008 Express Edition on Vista Home Premium.

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);

But there should be at least 2 devices in the list. What might be the 
problem? The devices are obviously not detected.

Regards
Mikael




More information about the Winpcap-users mailing list