[Winpcap-users] after 32 loops pcap_findalldevs() starts returning
0 adapters. Why?
vbor at isd.dp.ua
Thu May 11 09:12:03 GMT 2006
I'm not sure but I think the code logic is wrong. I would recommend you
to put *pcap_freealldevs(allDevs);*
call before each *continue* statement.
> Hi All,
> We are using WinPcap 3.0 to create an application, the problem wwhich
> we are encountering is after 32 loops pcap_findalldevs() starts
> returning 0 adapters.
> We are simply counting the available adapters after 1/2 seconds .
> Following is the code which we are using.Kindly advise why after
> approx 32 loops it starts returning 0 adapters.
Best regards. Vasily Borovyak <vbor at isd.dp.ua>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Winpcap-users