I need to sniff TCP traffic into my application.
Can libpcap reassemble TCP segments or I have to do it manually?
The home page says \"Full documentation is
Three years ago I used libpcap and I had to reassemble TCP streams myself, it's not very difficult but it's full of corner cases.
You may look at wireshark dissectors and «follow TCP stream» option if license (GPLv2) is ok for your project.