Skip to content

Continuous Sniffing with Stop Trigger #560

Answered by KimiNewt
ryankshah asked this question in Q&A
Discussion options

You must be logged in to vote

If you use apply_on_packets rather than sniff_continuously then you can give a callback which can raise StopCapture to stop the capture. Then you can call capture.close() and reopen it

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ryankshah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants