c++ library for parsing packets with winpcap [closed]
We don’t allow questions seeking recommend开发者_如何学JAVAations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionis there a c++ opensource library for parsing capturing packets with winpcap specificly the tcp header and data ?
You should be able to adapt the source code of Wireshark or tcpdump. Both are open source.
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
http://www.wand.net.nz/trac/libtrace/
精彩评论