C++ networking libraries
HTTP, socket and RPC libraries for C and C++, ranked by GitHub stars
更新于 · GitHub stars (stars)
为什么是这20个
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
uWebSockets
µWS is one of the most lightweight, efficient & scalable WebSocket & HTTP server implementations available. [Zlib]
19,029 stars 1,872 forkslast push 2026-11-19C++Apache-2.0
-
2
cpp-httplib
A single file C++11 header-only HTTP/HTTPS server library. [MIT]
16,996 stars 2,774 forkslast push 2026-11-21C++MIT
-
3
KCP
A fast and reliable ARQ protocol that helps applications to reduce network latency. [MIT]
16,966 stars 2,631 forkslast push 2026-06-23CMIT
-
4
Muduo
A C++ non-blocking network library for multi-threaded server in Linux. [BSD]
16,314 stars 5,293 forkslast push 2025-12-23C++NOASSERTION
-
5
Mongoose
Extremely lightweight webserver. [GPL2]
13,145 stars 2,960 forkslast push 2026-11-20CNOASSERTION
-
6
H2O
An optimized HTTP server with support for HTTP/1.x and HTTP/2. It can also be used as a library. [MIT]
11,576 stars 891 forkslast push 2026-11-14CMIT
-
7
ZeroMQ
High-speed, modular asynchronous communication library. [LGPL3/MPL2] website
11,067 stars 2,497 forkslast push 2026-10-18C++MPL-2.0
-
8
GameNetworkingSockets
Reliable & unreliable messages over UDP by Valve. Connection-oriented API (like TCP). [BSD-3-Clause]
10,091 stars 774 forkslast push 2026-10-03C++BSD-3-Clause
-
9
WebSocket++
C++/Boost Asio based websocket client/server library. [BSD]
7,716 stars 2,107 forkslast push 2026-05-04C++NOASSERTION
-
10
libwebsockets
A lightweight pure C WebSocket implementation that provides both client and server libraries. [LGPL2.1 + static link exception] website
5,351 stars 1,615 forkslast push 2026-11-20CNOASSERTION
-
11
-
12
Boost.Beast
zap: - HTTP and WebSocket built on Boost.Asio in C++11. [Boost] website
4,836 stars 697 forkslast push 2026-11-15C++BSL-1.0
-
13
DPDK
Data Plane Development Kit, libraries and drivers for fast packet processing. [BSD-3-Clause & GPL-2.0] website
4,488 stars 1,548 forkslast push 2026-11-20C
-
14
evpp
C++ high performance networking with TCP/UDP/HTTP protocols. [BSD]
3,776 stars 947 forkslast push 2024-04-10C++BSD-3-Clause
-
15
-
16
libpcap
A portable C/C++ library for network traffic capture. [BSD] website
3,188 stars 983 forkslast push 2026-11-20CNOASSERTION
-
17
PcapPlusPlus
a multiplatform C++ network sniffing and packet parsing and crafting framework. [Unlicense]
3,175 stars 778 forkslast push 2026-11-20C++Unlicense
-
18
PF_RING™
High-speed packet processing framework. [LGPL-2.1] website
2,993 stars 361 forkslast push 2026-11-16CLGPL-2.1
-
19
c-ares
A C library for asynchronous DNS requests. [MIT]
2,216 stars 733 forkslast push 2026-11-01CMIT
-
20
mTCP
Highly scalable user-level TCP stack for multicore systems. [Modified BSD]
2,140 stars 460 forkslast push 2024-07-04CNOASSERTION
参考资料
- fffaraz/awesome-cpp: Networking, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 08:33 UTC.
- fffaraz/awesome-cpp (Networking), GitHub community list, 61 tools with a public repository.