Using (embedding?) wireshark in a C application for sniffing
- by happy_emi
I'm writing a C/C++ application which needs (among other things) to sniff packets and save the output in a file. This file will be read and processed by wireshark after a few days, using a LUA script to do some other stuff.
My question is for the sniffing part which must be provided by my application. I can see two ways to do this:
1) Fork the…