C++ Networking

Open-source C++ projects categorized as Networking

Top 23 C++ Networking Projects

  • Muduo

    Event-driven network library for multi-threaded Linux server in C++11

  • ZeroTier

    A Smart Ethernet Switch for Earth

  • Project mention: Compiling zerotier-cli on Linux Mint 21 | /r/zerotier | 2023-10-26
  • 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.

    InfluxDB logo
  • C++ Workflow

    C++ Parallel Computing and Asynchronous Networking Framework

  • cpp-httplib

    A C++ header-only HTTP/HTTPS server and client library

  • Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    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.

  • ZeroMQ

    ZeroMQ core engine in C++, implements ZMTP/3.1

  • Project mention: Lightweight and fast AMQP (0-9-1) server | news.ycombinator.com | 2024-04-07

    Slightly OT:

    Are ZeroMQ and NanoMQ still widely used (and recommended)?



  • Proxygen

    A collection of C++ HTTP libraries including an easy to use HTTP server.

  • Project mention: Backdoor in upstream xz/liblzma leading to SSH server compromise | news.ycombinator.com | 2024-03-29

    Looking 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

  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • GameNetworkingSockets

    Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

  • Project mention: How are game servers financed | /r/gamedev | 2023-12-06

    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

  • 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.

  • Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    My 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.

  • WebSocket++

    C++ websocket client/server library

  • cpr

    C++ Requests: Curl for People, a spiritual port of Python Requests.

  • Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08

    This one might fit the bill https://github.com/libcpr/cpr

  • nghttp2

    nghttp2 - HTTP/2 C Library and tools

  • Project mention: Nghttp2 1.57.0 – HTTP/2 C Library | news.ycombinator.com | 2023-10-21
  • Boost.Beast

    HTTP and WebSocket built on Boost.Asio in C++11

  • 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.

  • Project mention: PcapPlusPlus v23.09 is out! - C++ library for capturing and analyzing network packets | /r/cpp | 2023-10-01

    It'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

  • 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.

  • libquic

    QUIC, a multiplexed stream transport over UDP

  • 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

  • Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    In 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.

  • MongoDB C++ Driver

    C++ Driver for MongoDB

  • Project mention: MongoDB $weeklyUpdate #122 (June 30, 2023): Databricks, Change Streams, & Terraform | dev.to | 2023-06-30

    We'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:

  • copperspice

    Set of cross platform C++ libraries (Core, Gui, Network, Multimedia, SQL, Vulkan, etc)

  • Project mention: Looking for projects to contribute to | /r/cpp | 2023-04-25

    Tangentially, I just listened to an old cppcast about https://www.copperspice.com/, a QT fork with ambitions of being more c++-ey.

  • roc-toolkit

    Real-time audio streaming over the network.

  • Project mention: Finding an open source project to write tests for. | /r/opensource | 2023-10-02
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Networking related posts


What are some of the best open-source Networking projects in C++? This list will help you:

Project Stars
1 Muduo 14,227
2 ZeroTier 13,325
3 C++ Workflow 12,412
4 cpp-httplib 11,806
5 ZeroMQ 9,256
6 Proxygen 8,020
7 POCO 7,882
8 GameNetworkingSockets 7,818
9 C++ REST SDK 7,800
10 WebSocket++ 6,734
11 cpr 6,137
12 nghttp2 4,502
13 Boost.Beast 4,157
14 evpp 3,480
15 PcapPlusPlus 2,570
16 cpp-netlib 1,964
17 Restbed 1,885
18 libquic 1,738
19 Silicon 1,723
20 RESTinio 1,105
21 MongoDB C++ Driver 1,002
22 copperspice 991
23 roc-toolkit 978

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives