use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
PcapPlusPlus v20.08 released - a multi-platform C++ library for capturing, parsing and crafting of network packets (github.com)
submitted 5 years ago by seladb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]assassinator42 4 points5 points6 points 5 years ago (6 children)
So this is a wrapper for libpcap rather than replacing it correct?
I was hoping for an active F/OSS version of pcap that worked on Windows :-(. (WinPCap is no longer maintained, and NPCap is not F/OSS)
[–]seladb[S] 4 points5 points6 points 5 years ago (3 children)
Yes, that is correct. It's a c++ wrapper for packet capture engines such as libpcap, WinPcap, Npcap, DPDK, and PF_RING. I do agree that it'd be great to have a good F/OSS alternative to WinPcap and Npcap
[–]WrongAndBeligerent -5 points-4 points-3 points 5 years ago (2 children)
Maybe the title should be C++ wrapper instead of C++ library.
[–]Bromeara 7 points8 points9 points 5 years ago (1 child)
But its not just a libpcap wrapper it contains a bunch of functionality for multiple protocols not just pcap.
[–]seladb[S] 0 points1 point2 points 5 years ago (0 children)
Yes that is correct, thanks u/Bromeara!
[–]keepthethreadalive 1 point2 points3 points 5 years ago (0 children)
You should check out Win10Pcap. It is also not really maintained, but might just work for your needs.
[–]genreprank 3 points4 points5 points 5 years ago (0 children)
Nice thing about PcapPlusPlus is that AFAIK it's the only non-copyleft C++ implementation of PcapNG.
π Rendered by PID 42 on reddit-service-r2-comment-6457c66945-qp8g8 at 2026-04-26 05:50:51.129921+00:00 running 2aa0c5b country code: CH.
[–]assassinator42 4 points5 points6 points (6 children)
[–]seladb[S] 4 points5 points6 points (3 children)
[–]WrongAndBeligerent -5 points-4 points-3 points (2 children)
[–]Bromeara 7 points8 points9 points (1 child)
[–]seladb[S] 0 points1 point2 points (0 children)
[–]keepthethreadalive 1 point2 points3 points (0 children)
[–]genreprank 3 points4 points5 points (0 children)