Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 C++ Networking Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
POCO
The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
GameNetworkingSockets
Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.
-
C++ REST SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
-
evpp
A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.
-
PcapPlusPlus
PcapPlusPlus is a multiplatform C++ library for capturing, parsing and crafting of network packets. It is designed to be efficient, powerful and easy to use. It provides C++ wrappers for the most popular packet processing engines such as libpcap, Npcap, WinPcap, DPDK, AF_XDP and PF_RING.
-
cpp-netlib
The C++ Network Library Project -- cross-platform, standards compliant networking library.
-
Restbed
Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
-
Silicon
A high performance, middleware oriented C++14 http web framework please use matt-42/lithium instead (by matt-42)
-
RESTinio
Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30ZeroTier - Layer 2 overlay network. They take decentralization seriously, and like to say "decentralize until it hurts, then centralize until it works." Written in C++.
Alternatives at the low to medium level of abstraction include civetweb and mongoose, which have a common ancestor. Both of these appear to be C rather than C++, but seem to be production quality and well-documented. Another C library is cpp-httplib, which is probably too low-level for me.
Slightly OT:
Are ZeroMQ and NanoMQ still widely used (and recommended)?
https://github.com/zeromq/libzmq
https://github.com/nanomq/nanomq
Project mention: Backdoor in upstream xz/liblzma leading to SSH server compromise | news.ycombinator.com | 2024-03-29Looking forward to the time when Meta will make https://github.com/facebookincubator/zstrong.git public
found it mentioned in https://github.com/facebook/proxygen/blob/main/build/fbcode_..., looks like it's going to be cousin of zstd, but maybe for the stronger compression use cases
Steam does have a NAT traversal/punchthrough service too. It's apparently usable without Steam according to their README on https://github.com/ValveSoftware/GameNetworkingSockets but honestly the only easy to use implementation I know is in Facepunch.Steamworks which requires a SteamID to initialize
Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06My favourite was Microsoft's cpprestsdk, but for some reason now is in maintenance mode, I don't know why, so it's hard to suggest it for new projects. A nice alternative is restc-cpp, that's has a good high-level interface, if this is what you want.
Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08This one might fit the bill https://github.com/libcpr/cpr
Project mention: PcapPlusPlus v23.09 is out! - C++ library for capturing and analyzing network packets | /r/cpp | 2023-10-01It's been a while since our last release (about 10 months) so quite a lot has changed. I'll try to summarize the most important things. You can see the full list of changes in the release notes: https://github.com/seladb/PcapPlusPlus/releases/tag/v23.09
Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06In my past job, we used https://github.com/Stiffstream/restinio and absolutely loved it. It's not as active but it honestly didn't need much.
Project mention: MongoDB $weeklyUpdate #122 (June 30, 2023): Databricks, Change Streams, & Terraform | dev.to | 2023-06-30We're pleased to announce the release of the MongoDB C Driver (libmongoc) 1.24.0 and C++ Driver (mongocxx) 3.8.0 with support for MongoDB 7.0 and a host of new security features. Check out the release notes for more details:
C++ Networking related posts
-
3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup
-
Darkflame Universe
-
LG C3 42” + 4090 = gaming heaven
-
How are game servers financed
-
FastClick: A new architecture for programmable network infrastructure
-
Qt Creator 12 Released
-
Experience using crow as web server
-
A note from our sponsor - InfluxDB
www.influxdata.com | 5 May 2024
Index
What are some of the best open-source Networking projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Muduo | 14,288 |
2 | ZeroTier | 13,415 |
3 | C++ Workflow | 12,462 |
4 | cpp-httplib | 11,875 |
5 | ZeroMQ | 9,293 |
6 | Proxygen | 8,026 |
7 | POCO | 7,910 |
8 | GameNetworkingSockets | 7,830 |
9 | C++ REST SDK | 7,816 |
10 | WebSocket++ | 6,755 |
11 | cpr | 6,167 |
12 | nghttp2 | 4,513 |
13 | Boost.Beast | 4,176 |
14 | evpp | 3,495 |
15 | PcapPlusPlus | 2,581 |
16 | cpp-netlib | 1,967 |
17 | Restbed | 1,885 |
18 | libquic | 1,738 |
19 | Silicon | 1,725 |
20 | RESTinio | 1,107 |
21 | MongoDB C++ Driver | 1,012 |
22 | copperspice | 1,001 |
23 | roc-toolkit | 978 |
Sponsored