[Winpcap-users] simultaneous read and write on a interface.

Loris Degioanni loris.degioanni at gmail.com
Tue Jul 11 15:27:58 GMT 2006


Actually, since the receive and transmit code path are completely 
separated both at user level and at kernel level, if you have a Rx-only 
thread and a Tx-only thread you shouldn't need the critical section.

Loris


Marcel van Lieshout wrote:
> I read and write from/to a single adapter from different threads. I have 
> wrapped the winpcap functions within critical sections. I have 
> encountered no problems with this (V4.0 alpha)
>  
> Marcel
>  
> 
>     ----- Original Message -----
>     *From:* ahsan askari <mailto:ahsanaskari at gmail.com>
>     *To:* winpcap-users at winpcap.org <mailto:winpcap-users at winpcap.org>
>     *Sent:* Monday, July 10, 2006 2:55 PM
>     *Subject:* [Winpcap-users] simultaneous read and write on a interface.
> 
>     Hi,
> 
>     Could anyone please tell me that if I want to read and write packets
>     on the same interface simultaneously, how could I do that ? Whether
>     I just have to call the required function for reading and writing
>     and the winpcap library manages teh simultaneous read and write it
>     self or do I have to employ a mechanism my self to do this ?
> 
>     Thank you
>     Ahsan
> 
>     ------------------------------------------------------------------------
> 
>     _______________________________________________
>     Winpcap-users mailing list
>     Winpcap-users at winpcap.org
>     https://www.winpcap.org/mailman/listinfo/winpcap-users
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users


More information about the Winpcap-users mailing list