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_next_ex on same
pcap_open_live?


> 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?
>
> Thanks.
>
>
> ==================================================================
>  This is the WinPcap users list. It is archived at
>  http://www.mail-archive.com/[EMAIL PROTECTED]/
>
>  To unsubscribe use
>  mailto: [EMAIL PROTECTED]
> ==================================================================



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to