Right. On the last part, that's why I was trying to avoid putting the freealldevs() anywhere before my program closes.<br><br><div><span class="gmail_quote">On 11/16/05, <b class="gmail_sendername">Guy Harris</b> <<a href="mailto:guy@alum.mit.edu">
guy@alum.mit.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Eric Hansen wrote:<br>> No, what I have so far is just all the information stored in arrays, and
<br>> I display that info. after calling freealldevs();<br><br>So presumably the information stored in arrays is *copies* of the<br>information pointed to by the data returned by pcap_findalldevs(),<br>including *copies* of the strings, with the copies made before calling
<br>pcap_freealldevs(), right? (If you just copy the pointers, not what<br>they point to, note that they no longer point to anything valid after<br>pcap_freealldevs() is called - pcap_freealldevs() frees all the strings.)
<br>_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">
https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://tenshi.honeyblade.net">http://tenshi.honeyblade.net</a> (my poetry)<br><br>"You wanted this ending to happen...ROMANTISUTO!"