Pcap is a binary file which stands for packet capture file format.

Wireshark, the world’s foremost and widely-used network protocol analyzer, uses pcap file format to save captured network traffic.

According to the capture scenario, sometimes I need to search a special frame inside the pcap files. Since these pcap files have thousands of frames, searching a special frame is a time consuming task.

Therefore, I created a simple pcap reader which makes my life easy.

Here is the regarding source code with example application: