Home > Software engineering >  MFC realize network protocol analyzer
MFC realize network protocol analyzer

Time:10-01

Help you a great god, and I just write a protocol analyzer in the vs2008 program (using winpcap functions) and is now hoping to list shows what I parse out of control, but don't know where to put the data should be first, is in a temporary file should use thread method to solve? For a good at MFC great spirit

CodePudding user response:

Wireshark reference source code related fragments,

CodePudding user response:

Each packet, cached in memory or file
Parsing out the display in the list.

CodePudding user response:

refer to the second floor xiaohuh421 response:
each packet, cached in memory or file
Parsing out the display in the list.


If you want to save is written to the file; If only for display, then put into the thread queue, good timing to operate the list;

CodePudding user response:

Can be in memory, then analysis results show that the UI
  • Related