is there a c++ opensource library for parsing capturing packets with winpcap specificly the tcp header and data ?
Asked
Active
Viewed 1,051 times
2 Answers
1
You should be able to adapt the source code of Wireshark or tcpdump. Both are open source.

Zan Lynx
- 53,022
- 10
- 79
- 131
1
There is libpacketdump
which is part of the libtrace networking suite.
According to it's makers, it is
libpacketdump provides decoders to dump the contents of packets in human readable form
Be sure to check the license (I haven't)
Project webpage

MSDN.WhiteKnight
- 664
- 7
- 30

sehe
- 374,641
- 47
- 450
- 633