J. Thomsen wrote:

> Is there a way to clear the receive buffer
> for packets that are captured before one
> sets bpf filters ?

If there is any version of libpcap/WinPcap where setting the filter doesn't discard all previously-received packets, I'd consider that a bug - BPF on the BSDs clears the buffer when you set the filter and, on Linux, recent versions of libpcap go through some effort to discard the previous packets. If the WinPcap driver doesn't clear the buffer when the filter is set, perhaps it should be changed to do so.



==================================================================
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