Hello Bob, I also require roughly the same functionality thats is different threads taking data for the interfaces Though i have not tested the two interface thing since i have only one interface on my machine i have a single thread interacting with pcap(for the single interface). yours query is of value to me too so please keep me updated
The man page for pcap does not say anything about the MT status !!! Thanks in advance Rgds Vishal Malhan ----- Original Message ----- From: Bob Lissner <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 28, 2001 11:46 PM Subject: [tcpdump-workers] multiple threads > Gentlemen: > > I have been using libpcap on a linux machine for a couple of years. I've > now run into trouble. > > I am trying to watch two nic cards at the same time. > > I open them live with to_ms = 1, and then run a loop that: > > dispatches each one with a cnt of 0, which should return after 1 ms timeout, > but doesn't. > > Is it possible that pcap is single thread and cannnot have two devices open > at the same time. If so, any suggestions to get around it? > > Is there a knowledge base somewhere for pcap? > > Thanks for a great package. > > Bob Lissner > Lifestyle Homes, Inc. > InterComm, Inc. > 775-233-0379 > > > - > This is the TCPDUMP workers list. It is archived at > http://www.tcpdump.org/lists/workers/index.html > To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
