3

I'm looking at pcap.net's ability to intercept packets from various devices.

Starting the process is really straightforward:

communicator.ReceivePackets(0, PacketHandler);

But after that, the process does not stop. Ever.

How do I forcibly close the packet capture?

Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224

1 Answers1

2

Indeed, as you've mentioned in the comments, Break() is intended for that.

brickner
  • 6,595
  • 3
  • 41
  • 54