[Winpcap-users] pcap_findalldevs on Windows 7

oleg levin levin_oleg at yahoo.com
Sun Dec 12 04:19:43 PST 2010


OK,
It was something wrong in my npf driver installation. I reinstalled WinPcap, 
started npf service and everything works fine now.

Thank you,
Oleg



----- Original Message ----
From: Gianluca Varenni <gianluca.varenni at riverbed.com>
To: winpcap-users at winpcap.org
Cc: alonbl at correlsense.com
Sent: Wed, December 8, 2010 7:01:55 PM
Subject: Re: [Winpcap-users] pcap_findalldevs on Windows 7

Are the devices listed by Wireshark?

Have a nice day
GV

--------------------------------------------------
From: "oleg levin" <levin_oleg at yahoo.com>
Sent: Thursday, December 02, 2010 5:52 AM
To: <winpcap-users at winpcap.org>
Cc: <alonbl at correlsense.com>
Subject: [Winpcap-users] pcap_findalldevs on Windows 7

> Hello,
>
> We use WinPcap 4.1.2 library on Windows 7 and have a problem in 
> pcap_findalldevs
> function call.
> The function returns 0 (success), but interfaces list is empty (equels to 
> 0):
>
> int main(int argc,char*argv[])
> {
>    pcap_if_t *pcap_ifs = NULL;
>    char pcap_error_buf[PCAP_ERRBUF_SIZE];
>
>    if(pcap_findalldevs(&pcap_ifs, pcap_error_buf)<0)
>          fprintf(stderr,"Error:pcap_findalldevs failed.\n");
>    else if (!pcap_ifs)
>          fprintf(stderr,"Error:failed to fetch network interfaces 
> list.\n");
>    return 0;
> }
>
> C:\>PcapTest.exe
> Error: failed to fetch network interface list.
>
> Can you please help to solve this issue?
>
> Thanks,
> Oleg Levin
> Software engineer
> Correlsense
> IT Reliability™ through Transaction Management
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
> 
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users



      


More information about the Winpcap-users mailing list