PcapHandle.breakLoop

void breakLoop()

Terminates a pcap_loop or pcap_dispatch call.

This function can be called from a different thread or from a callback to stop processing packets.