[Winpcap-users] Issues with Multiple NIC cards
Voora, Srinivas
Srinivas.Voora at etalk.com
Wed Oct 18 17:00:13 GMT 2006
Hi GV,
The reason for the crash is heap corruption. It most probably happening
in my code, just wanted to double check with the group.
We have put locks on the threads, it seems to be helping, and we can
positively conclude this after few days.
Thanks for the Help.
Srinivas
etalk, an Autonomy company
Srinivas Voora
Product Developer
4040 West Royal Lane, Suite 100
Irving, Texas 75063
ph: 972.819.3212
fax: 972.819.3300
Srinivas.Voora at etalk.com
www.etalk.com <http://www.etalk.com>-----Original Message-----
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: Wednesday, October 18, 2006 11:13 AM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] Issues with Multiple NIC cards
Srinivas,
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.
What is the exact reason for the crash? access violation?
GV
----- Original Message -----
From: Voora, Srinivas <mailto:Srinivas.Voora at etalk.com>
To: winpcap-users at winpcap.org
Sent: Monday, October 16, 2006 2:53 PM
Subject: [Winpcap-users] Issues with Multiple NIC cards
Hi,
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
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.
Thanks in Advance,
Srinivas
etalk, an Autonomy company
Srinivas Voora
Product Developer
4040 West Royal Lane, Suite 100
Irving, Texas 75063
ph: 972.819.3212
fax: 972.819.3300
Srinivas.Voora at etalk.com
www.etalk.com <http://www.etalk.com/>
CONFIDENTIALITY NOTICE: 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 administrator at etalk.com
<mailto:administrator at etalk.com> and delete it. Thank you.
_____
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061018/afae82df/attachment-0001.htm
More information about the Winpcap-users
mailing list