Pregunta

duo to

SharpPcap OnPcapStatistics event never fires?

I have fixed it by placing override for PcapDevice.SendPacketArrivalEvent() and virtual for WinPcapDevice.SendPacketArrivalEvent() and it works perfect , but when i add some filters like this :

device.Filter = "ip and tcp";

it raises exception that the drive is not ready, why is it like this?

¿Fue útil?

Solución

Sorry, my mistake, I have been putting the filter line before opening the device. know it works fine.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top