<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 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> pcap_if_t *alldevs;<BR> pcap_if_t *d;<BR> char errbuf[PCAP_ERRBUF_SIZE+1];</P>
<P> for(i=0;i<10000;i++)<BR> {<BR> <BR> /* Retrieve the device list */<BR> if(pcap_findalldevs(&alldevs, errbuf) == -1)<BR> {<BR> fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);<BR> exit(1);<BR> }<BR> <BR> /* Scan the list printing every entry */<BR> for(d=alldevs;d;d=d->next)<BR> {<BR> // ifprint(d);<BR> }</P>
<P> /* Free the device list */<BR> pcap_freealldevs(alldevs);</P>
<P> printf("\ni=%d",i);<BR> printf("\nPress any key and see Windows Task Manager\nyou will see memory of this process is increased");<BR> getch();<BR> <BR> }</P>
<P> 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>