-
Hi all! I am currently aiming to use this library to do a live capture of some traffic related to a program I'm writing. Inherently, the program does some network related actions and the task at hand is akin to the following:
However, from the documentation this seems unclear as to whether it can be accomplished or not! Any tips/advice on how I could achieve this would be great, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you use |
Beta Was this translation helpful? Give feedback.
If you use
apply_on_packets
rather thansniff_continuously
then you can give a callback which can raiseStopCapture
to stop the capture. Then you can callcapture.close()
and reopen it