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()
{
_Communicator.RecievePackets(HandlePacket, 0);
}
private void StopCapture()
{
_Communicator.Break();
}
any help?? thanks