<P>Thanks for your new release.<BR>But it still have old error of beta version:<BR>Error is: not free memory in function pcap_findalldevs???</P>
<P>The source test is demo program: iflist&nbsp;project in developer pack. My enviroment: Win2kPro sp4, Visual C++6...<BR>I change this source, replace the main function as following: <BR>(put a for loop to check function: pcap_findalldevs)</P>
<P>int i;<BR>int main()<BR>{<BR>&nbsp;pcap_if_t *alldevs;<BR>&nbsp;pcap_if_t *d;<BR>&nbsp;char errbuf[PCAP_ERRBUF_SIZE+1];</P>
<P>&nbsp;for(i=0;i&lt;10000;i++)<BR>&nbsp;{<BR>&nbsp;<BR>&nbsp;&nbsp;/* Retrieve the device list */<BR>&nbsp;&nbsp;if(pcap_findalldevs(&amp;alldevs, errbuf) == -1)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);<BR>&nbsp;&nbsp;&nbsp;exit(1);<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;/* Scan the list printing every entry */<BR>&nbsp;&nbsp;for(d=alldevs;d;d=d-&gt;next)<BR>&nbsp;&nbsp;{<BR>&nbsp;//&nbsp;&nbsp;ifprint(d);<BR>&nbsp;&nbsp;}</P>
<P>&nbsp;&nbsp;/* Free the device list */<BR>&nbsp;&nbsp;pcap_freealldevs(alldevs);</P>
<P>&nbsp;&nbsp;printf("\ni=%d",i);<BR>&nbsp;&nbsp;printf("\nPress any key and see Windows Task Manager\nyou will see memory of this process is increased");<BR>&nbsp;&nbsp;getch();<BR>&nbsp;<BR>&nbsp;}</P>
<P>&nbsp;return 1;<BR>}</P>
<P><BR>Please check this problem!<BR>Thanks!</P><p>
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs">Start your day with Yahoo! - make it your home page </a>