I want to build a C++ application that stores the arrival time of ethernet frames in an SQLite database. I'd appreciate any advice on the best libraries or GitHub projects to use. I've already come across libtins.


I'm not sure what you mean by "best libraries to use" but I can also recommend PcapPlusPlus. It does deep analysis of network packets including ethernet frames arrival time


Wireshark will already capture packet timestamps. I believe it uses PCAP internally for the low-level work.

See https://github.com/the-tcpdump-group/libpcap

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.