<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:ns1 =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16490">
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<STYLE>
<!--
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.SHAPE
        {behavior:url(#default#VML);}
a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
p
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody lang=EN-US leftMargin=0 link=blue topMargin=0 vLink=purple
CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Are you sure you are picking the right
interface?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Have a nice day</FONT></DIV>
<DIV><FONT face=Calibri>GV</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=Imre.Magyar@lairdtech.com
href="mailto:Imre.Magyar@lairdtech.com">Imre Magyar</A> </DIV>
<DIV><B>Sent:</B> Tuesday, March 23, 2010 2:20 PM</DIV>
<DIV><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Winpcap-users] winpcap not capturing
anything</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">I was under the
impression that using -1 will minimize packet reception latency. In any case, I
changed it to 1000 but the problem remains. The app works just fine on one PC
but fails to capture anything on another. Both interfaces are normal wired
interfaces, and both PCs have the same version of winpcap
installed.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">--IM<o:p></o:p></SPAN></FONT></P>
<DIV>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center SIZE=2 width="100%">
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT size=2 face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <A
href="mailto:winpcap-users-bounces@winpcap.org">winpcap-users-bounces@winpcap.org</A>
[mailto:winpcap-users-bounces@winpcap.org] <B><SPAN style="FONT-WEIGHT: bold">On
Behalf Of </SPAN></B>Gianluca Varenni<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, March 22, 2010 4:07
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
winpcap-users@winpcap.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Winpcap-users] winpcap not
capturing anything</SPAN></FONT><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT size=2 face=Calibri><SPAN
style="FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN style="FONT-SIZE: 12pt">Is
there any specific reason why you are putting a read timeout of "-1". I would
definitely try with something like 1000 and see if you receive packets in this
case.</SPAN></FONT><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN style="FONT-SIZE: 12pt">Have
a nice day</SPAN></FONT><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN
style="FONT-SIZE: 12pt">GV</SPAN></FONT><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><FONT size=2 face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<DIV>
<DIV style="font-color: black">
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <A
title=Imre.Magyar@lairdtech.com href="mailto:Imre.Magyar@lairdtech.com">Imre
Magyar</A> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Sent:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> Monday,
March 22, 2010 1:57 PM<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">To:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <A
title="mailto:winpcap-users@winpcap.org CTRL + Click to follow link"
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Subject:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> Re:
[Winpcap-users] winpcap not capturing
anything<o:p></o:p></SPAN></FONT></P></DIV></DIV></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt">It’s a standard Ethernet
card.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt">I’m opening the interface as
such:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">if ( (adhandle=
pcap_open( d->name, //
name of the device<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
1024 * 4, // max bytes to
capture<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
0, // could be
PCAP_OPENFLAG_PROMISCUOUS<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
-1, // read
timeout<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
0, // auth
struct<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
errbuf // error
buffer<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
) ) == NULL)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
{<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
fprintf(stderr,"\nUnable to open the adapter. %s is not supported by WinPcap\n",
d->name);<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
/* Free the device list */<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
pcap_freealldevs(alldevs);<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
return 0;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face="Courier New"><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
}<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt">Thank-you,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt">I.M.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT color=#1f497d size=2 face=Calibri><SPAN
style="COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: blue 1.5pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 4pt; PADDING-RIGHT: 0in; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0in">
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><FONT size=2 face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">
winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpcap.org]
<B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Gianluca
Varenni<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, March 22,
2010 3:52 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
winpcap-users@winpcap.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Winpcap-users] winpcap not
capturing anything<o:p></o:p></SPAN></FONT></P></DIV></DIV>
<P class=MsoNormal><FONT size=2 face=Calibri><SPAN
style="FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN style="FONT-SIZE: 12pt">Are
you capturing on a standard ethernet/wireless card?</SPAN></FONT><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN style="FONT-SIZE: 12pt">What
parameters are you using with pcap_open?</SPAN></FONT><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN
style="FONT-SIZE: 12pt">Have a nice day</SPAN></FONT><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face=Calibri><SPAN
style="FONT-SIZE: 12pt">GV</SPAN></FONT><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><FONT size=2 face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <A
title=Imre.Magyar@lairdtech.com href="mailto:Imre.Magyar@lairdtech.com">Imre
Magyar</A> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Sent:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> Sunday,
March 21, 2010 6:24 AM<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">To:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <A
title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="BACKGROUND: whitesmoke" class=MsoNormal><B><FONT size=2
face=Tahoma><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Subject:</SPAN></FONT></B><FONT
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">
[Winpcap-users] winpcap not capturing
anything<o:p></o:p></SPAN></FONT></P></DIV></DIV></DIV>
<DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Hello
all,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I've spent a couple weeks trying to
figure this out on my own, but to no avail and no amount of searching seems to
help me find answers, so I'm hoping somebody out there can
help.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I have a Windows .Net application
that uses multiple managed Visual C++ DLLs, one of which interfaces to winpcap.
The program model is fairly simple; upon entry to the DLL I open the interface
with pcap_open(), spawn a separate thread to repeatedly call pcap_next_ex()
while the main thread returns to managed context to continue the main
application thread.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">The problem is that pcap_next_ex()
never manages to see a single packet. Running wireshark on the same interface
simultaneously verifies that the packets are on the wire, but I never see a
single one.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">But it gets stranger, because
everything works fine on some Windows PCs (all running XP) yet this happens
reliably on others.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">If I take the DLL code and change it
such that it's run as a standard standalone WIN32 application, everything works
perfectly, so I think that the problem isn't winpcap itself, just something
having to do with the .net application contexts.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">So at the risk of asking about
something that is obvious to everyone else, could someone please help me with
some ideas as to what's going on?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Thank-you!<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">--Imre
M.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=2 face=Calibri><SPAN
style="FONT-SIZE: 11pt"><o:p> </o:p></SPAN></FONT></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt">
<HR align=center SIZE=2 width="100%">
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt">_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<o:p></o:p></SPAN></FONT></P></DIV>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><FONT size=3
face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt">
<HR align=center SIZE=2 width="100%">
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt">_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<o:p></o:p></SPAN></FONT></P></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></BODY></HTML>