<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:st1 xmlns:o><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT size=2>Srinivas,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>it is definitely safe to capture from multiple cards (using
for example a thread per card). The only function that is not thread safe is
pcap_compile(), which uses some global variables to compile the filters.
</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>What is the exact reason for the crash? access violation?
</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=Srinivas.Voora@etalk.com
href="mailto:Srinivas.Voora@etalk.com">Voora, Srinivas</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> Monday, October 16, 2006 2:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Issues with
Multiple NIC cards</DIV>
<DIV><BR></DIV><!--ppd1000033-->
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I wanted to check if there are any
issues running with multiple NIC cards (4 fiber optic cards). We have one
thread for each card doing </SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">pcap_next_ex( handle,
&header, &data ). The app crashes all of a sudden. The dump doesn’t
show any particular location other then it happens in the functions relating
to the packet captures. This doesn’t happen with one NIC card. We are using
win pcap version 3.1.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Thanks in
Advance,</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Srinivas</SPAN></FONT></P></DIV><BR><BR>
<DIV class=Section1>
<TABLE class=MsoNormalTable
style="WIDTH: 89%; BORDER-COLLAPSE: collapse; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="89%" border=0>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P><st1:PersonName w:st="on"><B><SPAN
style="FONT-SIZE: 18pt; COLOR: navy; FONT-FAMILY: 'Arial Black'; mso-bidi-font-family: Arial">etalk</SPAN></B></st1:PersonName><EM
style="FONT-STYLE: normal"><SPAN
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: 'Arial Black'; mso-bidi-font-family: Arial">,
</SPAN><FONT face=Arial><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; mso-bidi-font-family: Arial">an
</SPAN></FONT><SPAN
style="FONT-WEIGHT: 700; COLOR: gray; mso-bidi-font-family: Arial"><FONT
face="Times New Roman">Autonomy</FONT></SPAN><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; mso-bidi-font-family: Arial"><FONT
face=Arial> company</FONT></SPAN></EM></P></TD></TR>
<TR style="mso-yfti-irow: 1">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><STRONG><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Srinivas
Voora</SPAN></STRONG></P></TD></TR>
<TR style="mso-yfti-irow: 2">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><STRONG><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Product
Developer</SPAN></STRONG></P></TD></TR>
<TR style="mso-yfti-irow: 3">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P> </P></TD></TR>
<TR style="mso-yfti-irow: 4">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">4040 West
Royal Lane, Suite 100</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 5">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Irving,
Texas 75063</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 6">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">ph:
972.819.3212</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 7">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">fax:
972.819.3300</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 8">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial"></SPAN> </P></TD></TR>
<TR style="mso-yfti-irow: 9">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Srinivas.Voora@etalk.com</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 10">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Arial"><A
href="http://www.etalk.com/"><SPAN
style="FONT-FAMILY: 'Arial Black'">www.etalk.com</SPAN></A><STRONG><SPAN
style="FONT-FAMILY: Arial"> </SPAN></STRONG></SPAN></U></P></TD></TR>
<TR style="mso-yfti-irow: 11; mso-yfti-lastrow: yes">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%">
<P class=MsoNormal><o:p> </o:p></P></TD></TR>
<TR style="mso-yfti-irow: 11; mso-yfti-lastrow: yes">
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; WIDTH: 89%; PADDING-TOP: 0in"
width="89%"><FONT style="FONT-SIZE: 9pt"
face=Arial></FONT></TD></TR></TBODY></TABLE>
<P class=MsoNormal><o:p> </o:p></P></DIV><BR><BR>
<TABLE id=table1 style="BORDER-COLLAPSE: collapse" borderColor=#111111
cellSpacing=0 cellPadding=0 width="89%" border=0>
<TBODY>
<TR>
<TD style="BORDER-TOP: 1px solid; BORDER-BOTTOM: 1px solid" width="89%">
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><B><SPAN
style="FONT-WEIGHT: bold">CONFIDENTIALITY NOTICE</SPAN></B>: This
communication and any files or attachments transmitted with it contain
information that is confidential to the sender, privileged or exempt
from disclosure under applicable law. It is intended solely for the use
of the individual or the entity to which it is addressed. If you are not
the intended recipient(s), you are hereby notified that any use,
dissemination, or copying of this communication is strictly prohibited;
please do not read, copy, use or disclose the content of this
communication to others. If you have received this communication in
error, please forward it, in its entirety, to the network manager at <A
title=mailto:administrator@etalk.com
style="COLOR: blue; TEXT-DECORATION: underline; text-underline: single"
href="mailto:administrator@etalk.com"><FONT
title=mailto:administrator@etalk.com color=black><SPAN
title=mailto:administrator@etalk.com
style="COLOR: windowtext">administrator@etalk.com</SPAN></FONT></A> and
delete it. Thank you.</SPAN></FONT></P></DIV></TD></TR></TBODY></TABLE>
<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>