문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top