C++ Networking

Open-source C++ projects categorized as Networking

Top 23 C++ Networking Projects

  • GitHub repo Muduo

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

  • GitHub repo Proxygen

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

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo ZeroMQ

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

    Project mention: can you recommend a production level C++ open source project that I can learn what is the production level code looks like? | reddit.com/r/Cplusplus | 2021-01-22
  • GitHub repo ZeroTier

    A Smart Ethernet Switch for Earth

    Project mention: How does ZeroTier Central tracks Last Seen and Physical IP? | reddit.com/r/zerotier | 2021-02-23

    Thanks, the documentation is not up to date. The source code makes things clear.

  • GitHub repo GameNetworkingSockets

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

    Project mention: Anyone know any good online multiplayer turturiols (for 3d) | reddit.com/r/godot | 2021-02-06
  • GitHub repo WebSocket++

    C++ websocket client/server library

    Project mention: Market Streaming With Polygon and C++ | reddit.com/r/algotrading | 2021-01-11
  • GitHub repo nghttp2

    nghttp2 - HTTP/2 C Library and tools

  • GitHub repo cpr

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

    Project mention: Best Way To Make HTTP POST Request? | reddit.com/r/cpp_questions | 2021-02-20

    Hey i know this is late but use C++ Request. This is a great http library for beginners.

  • GitHub repo Game-Networking-Resources

    A Curated List of Game Network Programming Resources

    Project mention: Is there any decent MMO/persistent world server platform, or should I just write my own server? | reddit.com/r/gamedev | 2021-02-20

    As this is a "side hobby project", and not your main thing, you're probably better off making your own server (but use a networking library and another other helpful libraries you can find). A starting point: https://github.com/MFatihMAR/Game-Networking-Resources

  • GitHub repo Boost.Beast

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

    Project mention: Building HTTP Service in C++ (Using Modern Tools) | dev.to | 2020-12-05

    The HTTP service and is mostly based on this particular example from Boost Beast library. I modified it, replacing plaintext responses with json, and adding Boost Log library.

  • GitHub repo wdt

    Warp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.

  • GitHub repo evpp

    A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.

  • GitHub repo cpp-netlib

    The C++ Network Library Project -- cross-platform, standards compliant networking library.

  • GitHub repo Silicon

    A high performance, middleware oriented C++14 http web framework please use matt-42/lithium instead

  • GitHub repo libquic

    QUIC, a multiplexed stream transport over UDP

  • GitHub repo 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, WinPcap, DPDK and PF_RING.

  • GitHub repo MongoDB C++ Driver

    C++ Driver for MongoDB

  • GitHub repo RESTinio

    Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use

    Project mention: Suggested libraries for building a REST service in C++? | reddit.com/r/cpp | 2021-01-25

    This comes up a lot. Checkout https://github.com/Stiffstream/restinio

  • GitHub repo roc-toolkit

    Real-time audio streaming over the network.

    Project mention: PipeWire 0.3.21 is now in Extra | reddit.com/r/archlinux | 2021-02-04

    Sorry, no idea. Maybe it's possible with Roc? if the drivers mentioned in the roc-send man page don't require the PulseAudio modules then maybe it's possible, and there's also support for ALSA.

  • GitHub repo open-builder

    Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server

    Project mention: Some early gameplay from my voxel game: Wanderers | reddit.com/r/VoxelGameDev | 2020-12-28

    For example, in this Notch article, he discussed using trilinear interpolation to speed up noise evaluation as well as to smooth out rough parts. But I tested, and both of his problems actually came mostly from using too many noise octaves. Minecraft used 16 octaves for each noise channel, and 8 octaves for the blending noise, when just 5-6 and 2-3 would be enough. The rest of the speed problems could be solved by implementing something to skip noise evaluations when they wouldn't matter, at least above/below max/min biome height if not dynamic octave skipping. See this screenshot difference.

  • GitHub repo Seasocks

    Simple, small, C++ embeddable webserver with WebSockets support

  • GitHub repo Tufão

    An asynchronous web framework for C++ built on top of Qt

  • GitHub repo verdigris

    Qt without moc: set of macros to use Qt without needing moc

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). The latest post mention was on 2021-02-23.


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

Project Stars
1 Muduo 9,045
2 Proxygen 7,032
3 ZeroMQ 6,786
4 ZeroTier 6,447
5 GameNetworkingSockets 5,058
6 WebSocket++ 4,560
7 nghttp2 3,633
8 cpr 3,438
9 Game-Networking-Resources 3,437
10 Boost.Beast 2,883
11 wdt 2,564
12 evpp 2,553
13 cpp-netlib 1,826
14 Silicon 1,709
15 libquic 1,474
16 PcapPlusPlus 1,305
17 MongoDB C++ Driver 784
18 RESTinio 681
19 roc-toolkit 660
20 open-builder 550
21 Seasocks 513
22 Tufão 510
23 verdigris 498