By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

Using multiple threads with pcapy

P: n/a
Hi all. Because of pcapy sniffng library doesn't permit to listen on
multiple interfaces I'm trying to use threads to avoid this problem.
In the source below I tried to start a thread for every NIC installed on my
system (I got 2 NICs) but once I started the first thread the program can't
go further.
Note that the first trhread works properly (I can sniff traffic) but the
problem is that the second thread regarding the other NIC never starts.
Does someone got any suggestion?

Thanks in advance.
Sep 14 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.