I am working with pcap.net.
I have a communicator that recieves packets. At some point I call the Break() function to stop the capture. after I stopped the capture, I want to continue the capture at some point..
I tried using the RecievePackets(HandlePacket, 0) again, but my GUI froze.. my code:
private void StartCapture()
private void StopCapture()
also importnat to say that all of this code is done not from the GUI thread.
the first time I start capture it works. then I break the capture. and after this. I try the _Communicator.RecievePackets(HandlePacket, 0) again and it freezes the GUI and everything.
any help?? thanks