Re: [WinPcap-users] pcap_sendpacket and pcap_next_ex on same pcap_open_live?

2004-05-21 Thread Loris Degioanni
I suggest the second solution. It ensures that no interaction happens between the receive and send processes. Loris - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 21, 2004 8:13 AM Subject: [WinPcap-users] pcap_sendpacket and pcap_nex

[WinPcap-users] pcap_sendpacket and pcap_next_ex on same pcap_open_live?

2004-05-21 Thread FrankNatoli
Have one thread performing pcap_open_live and then blocking on pcap_next_ex. Is it OK to have another thread, while the first is blocked in pcap_next_ex, invoke pcap_sendpacket on same pcap_open_live file? Or should the second thread invoke pcap_open_live a second time on the same device? Thank