Ca开发者_JS百科n I use the libpcap C API to read/decode/understand HTTP packets?
No. libpcap just captures packets, it's up to you to do something with the data inside the packets.
One very good packet analyzer is Wireshark. Maybe that does something you want.
精彩评论