<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Can you post a very stripped down version of your code so that
we can try to replicate the issue?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=monika.balazs@siemensvdo.com
href="mailto:monika.balazs@siemensvdo.com">Balazs, Monika</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 31, 2006 6:50
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Problem with
repetitive calls to pcap_findalldevs</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>My application
calls an open function in which it's stated the open adaptor sequence of
winpcap comands including pcap_findalldevs.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>Afterward it is
implemented in a different thread the functionality of listening on the
selected adaptor and the functionality of stop listening.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>I've observed that
after following the sequence listen-stop-listen my application crashes.
Following the bug in debug the following steps
happen:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>
- pcap_findalldevs</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>
- > pcap_add_if_win32</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>
- > add_or_find_if</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>
- > pcap_open_live</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=054114014-31102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>And he is trying
to open a generic adaptor descovered by findalldevs and
crashes...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=054114014-31102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>My question
is why this happens the second time I call pcap_findalldevs when I had
already closed the adaptor in the call of stop listening..is this a problem
with Winpcap or with my code...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=054114014-31102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=054114014-31102006>Thanks a lot for
any info</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=054114014-31102006>Moni</SPAN></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>