[Winpcap-users] after 32 loops pcap_findalldevs() starts returning 0 adapters. Why?

Vasily Borovyak 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.

Test wrote:
> 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.
>  
SKIPPED

-- 
Best regards. Vasily Borovyak <vbor at isd.dp.ua>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060511/5ec6ef8a/attachment.htm


More information about the Winpcap-users mailing list