I want to monitor my network using wireshark 's tshark command line tool.
What i want to accomplish is to redirect tshark's output to a c++ application, so i can examine data and output a more comprehensive analysis without keeping a huge amount of data.
I am working on windows, and usually code in mfc. So i would like any info on how to get the command line stream into my program, in order to analyze it.
Anyway, all i want, is tips on how to get a continuous stream of data from a command line application.
Any help appreciated.