<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>I'm not sure but I think the code logic is wrong. I would recommend
you to put </tt><b><font><font size="2">pcap_freealldevs(allDevs);</font></font></b><font><font
size="2"> </font></font><br>
<tt>call before each <b>continue</b> statement.<br>
</tt><br>
Test wrote:
<blockquote cite="mid001201c674d8$9cfc0d80$68a801c0@bipldel001"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1106" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi All, </font></div>
<div>š</div>
<div><font face="Arial" size="2">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.</font></div>
<div>š</div>
<div><font face="Arial" size="2">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.</font></div>
<div>š</div>
</blockquote>
SKIPPED<br>
<pre class="moz-signature" cols="80">--
Best regards. Vasily Borovyak <a class="moz-txt-link-rfc2396E" href="mailto:vbor@isd.dp.ua"><vbor@isd.dp.ua></a></pre>
</body>
</html>