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: ZeroTier VS husarnet - a user suggested alternative | libhunt.com/r/ZeroTierOne | 2023-01-23
  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • C++ Workflow

    C++ Parallel Computing and Asynchronous Networking Engine

    Project mention: Workflow v0.10.3 Released, Add WFRepeaterTask for Repeating Asynchronous Operations and Other New Features. | reddit.com/r/cpp | 2022-08-28

    Reference: https://github.com/sogou/workflow/releases/tag/v0.10.3

  • cpp-httplib

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

    Project mention: xbps-src ARM: glslangValidator: cannot execute binary file: Exec format error | reddit.com/r/voidlinux | 2023-01-05

    # Template file for 'yuzu-mainline' pkgname=yuzu-mainline version=1295 revision=1 _cubeb_version=75d9d125ee655ef80f3bfcd97ae5a805931042b8 _sanitizers_cmake_version=aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a _dynarmic_version=bd570e093ca1d1206961296b90df65cda7de8e87 _sirit_version=d7ad93a88864bda94e282e95028f90b5784e4d20 _mbedtls_version=8c88150ca139e06aa2aae8349df8292a88148ea1 _xbyak_version=348e3e548ebac06d243e5881caec8440e249f65f _SDL_version=f17058b562c8a1090c0c996b42982721ace90903 _cpp_jwt_version=e12ef06218596b52d9b5d6e1639484866a8e7067 _cpp_httplib_version=305a7abcb9b4e9e349843c6d563212e6c1bbbf21 _Vulkan_Headers_version=00671c64ba5c488ade22ad572a0ef81d5e64c803 create_wrksrc=yes build_wrksrc=${pkgname}-mainline-0-${version} build_style=cmake configure_args="-DYUZU_CHECK_SUBMODULES=OFF -DYUZU_TESTS=OFF -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON" hostmakedepends="pkg-config qt5-host-tools qt5-qmake clang" makedepends="fmt-devel libenet-devel inih-devel libusb-devel liblz4-devel opus-devel zlib-devel libzstd-devel boost-devel qt5-devel qt5-multimedia-devel libva-devel ffmpeg-devel glslang-devel SPIRV-Headers catch2 json-c++ speexdsp-devel" short_desc="Nintendo Switch Emulator" maintainer="Owen Law " license="GPL-3.0-or-later" homepage="https://github.com/yuzu-emu/yuzu-mainline" changelog="${homepage}/releases/tag/mainline-0-${version}" distfiles="${homepage}/archive/refs/tags/mainline-0-${version}.tar.gz https://github.com/herumi/xbyak/archive/${_xbyak_version}.tar.gz https://github.com/MerryMage/dynarmic/archive/${_dynarmic_version}.tar.gz https://github.com/yuzu-emu/mbedtls/archive/${_mbedtls_version}.tar.gz https://github.com/mozilla/cubeb/archive/${_cubeb_version}.tar.gz https://github.com/arsenm/sanitizers-cmake/archive/${_sanitizers_cmake_version}.tar.gz https://github.com/yuzu-emu/sirit/archive/${_sirit_version}.tar.gz https://github.com/libsdl-org/SDL/archive/${_SDL_version}.tar.gz https://github.com/arun11299/cpp-jwt/archive/${_cpp_jwt_version}.tar.gz https://github.com/yhirose/cpp-httplib/archive/${_cpp_httplib_version}.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/${_Vulkan_Headers_version}.tar.gz" checksum="b8b2616a24653352b8afd145ee46eb9ead07c6ef3aff8c0ff3a6225b381b4b85 fbe54fc881cdfb0876ddc8f29f74674a311ba7ae4b774751cb1b637c043e3bae 170530852547ee2f5517b0a12e643646e51a9974414084d389a85632df7c4518 8d3553ea5c3b47789c5a1a6437f948525d0a8ce2a0897000a36b511000c6bad4 8c5b7ca55ee586a3e5e63de2d31c319045f92e949140a734846a0d69ad342e2e 9f5b073625375322236a94ce8d2d803cdedad321c91e63845f487b9ebfb2c433 6612f924d1f2b2c7cb37effcda5d78550fad276887ee8f9bc391b9ecbf9e4a64 2a149e79712027d2d8141e3233df2f6679825b6f78237db3db72bc6cfc08b845 b4cc0e1f89d3c60a4dde74baa730a90de13c5dd5155b09d8dd34cd3205a6e758 61a97686b03edffa737c396f54e48da2ff0a04c3f6859ec9e80853aea6508030 99443e30caee5d2c0019de6549cc0c7c0432214494617da445753fc46374a7c3" post_extract() { mv "xbyak-${_xbyak_version}" xbyak cp -r xbyak "${build_wrksrc}/externals" mv "dynarmic-${_dynarmic_version}" dynarmic cp -r dynarmic "${build_wrksrc}/externals" mv "mbedtls-${_mbedtls_version}" mbedtls cp -r mbedtls "${build_wrksrc}/externals" mv "SDL-${_SDL_version}" SDL cp -r SDL "${build_wrksrc}/externals" mv "cubeb-${_cubeb_version}" cubeb mv "sanitizers-cmake-${_sanitizers_cmake_version}" sanitizers-cmake cp -r sanitizers-cmake cubeb/cmake cp -r cubeb "${build_wrksrc}/externals" mv "sirit-${_sirit_version}" sirit cp -r sirit "${build_wrksrc}/externals" mv cpp-jwt-${_cpp_jwt_version} cpp-jwt cp -r cpp-jwt ${build_wrksrc}/externals mv cpp-httplib-${_cpp_httplib_version} cpp-httplib cp -r cpp-httplib ${build_wrksrc}/externals mv Vulkan-Headers-${_Vulkan_Headers_version} Vulkan-Headers cp -r Vulkan-Headers ${build_wrksrc}/externals }

  • ZeroMQ

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

    Project mention: need xbps-src help | reddit.com/r/voidlinux | 2023-01-02

    -- Using src='https://github.com/zeromq/libzmq/releases/download/v4.3.4/zeromq-4.3.4.tar.gz'

  • Proxygen

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

    Project mention: C++ (or C, I guess) application server that's QUIC/HTTP3 ready? | reddit.com/r/cpp | 2022-06-29
  • 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: C++ REST API Framework | reddit.com/r/cpp_questions | 2022-11-26
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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

    Project mention: What are some C++ projects with high quality code that I can read through? | reddit.com/r/cpp_questions | 2023-01-16
  • GameNetworkingSockets

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

    Project mention: What kind of person do I need to find to get help with this issue? | reddit.com/r/gamedev | 2023-02-01

    You can also use the non-Steam parts of that library in any game in case you don't just release on Steam (have a look at https://github.com/ValveSoftware/GameNetworkingSockets )

  • WebSocket++

    C++ websocket client/server library

    Project mention: How to include third-party libraries using meson build system? | reddit.com/r/cpp | 2022-09-16

    The third-party library that I am trying to include is websocketpp using the meson build system. The library already has a CMakeLists.txt, however it does not have a meson.build file, so how can iInclude cmake projects?

  • cpr

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

    Project mention: Trying to use libcpr, linking errors - newbie... | reddit.com/r/cpp_questions | 2022-12-03

    So I'm very new to C++ and I'm trying to write a C++ version of a tool that I put together in Python. I'm trying to use libcpr for all my HTTP needs. I've spent the day trying to get it set up and working, but I'm getting a bunch of linking errors when I try to run. I really don't know if I did the building of it correctly, I'm trying to use Visual Studio Community 2022 and the Usage section of their docs talks about CMake and a couple package manager methods.

  • nghttp2

    nghttp2 - HTTP/2 C Library and tools

    Project mention: Install breaks at 46% | reddit.com/r/NixOS | 2022-11-14

    curl https://github.com/nghttp2/nghttp2/releases/download/v1.47.0/nghttp2-1.47.0.tar.bz2

  • Boost.Beast

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

    Project mention: Learning to build networking applications using C/C++ from scratch | reddit.com/r/cpp_questions | 2023-01-26
  • evpp

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

    Project mention: Help setting up evpp library with vcpkg, CMake on Windows. | reddit.com/r/cpp_questions | 2022-04-29

    Hello, has anyone had any success installing evpp into a project using vcpkg and CMake on Windows? I'm trying to use a vcpkg.json file so dependencies are project specific and not system-wide.

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

    Project mention: PcapPlusPlus v22.11 Released - C++ library for capturing and analyzing network packets | dev.to | 2022-11-11

    You can learn more about the project on our web-site.

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

    Project mention: How to use C++ as the backend for web dev? | reddit.com/r/learnprogramming | 2022-03-25

    Use a rest api library like https://github.com/corvusoft/restbed. You can use a json library with this to serialize/deserialize your data into json objects.

  • Silicon

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

  • libquic

    QUIC, a multiplexed stream transport over UDP

  • MongoDB C++ Driver

    C++ Driver for MongoDB

  • 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: What code/project you saw was both inspiring and maintainable? | reddit.com/r/cpp | 2022-11-01
  • roc-toolkit

    Real-time audio streaming over the network.

    Project mention: PipeWire 0.3.46 (2022-02-17) | reddit.com/r/linux | 2022-02-17

    There's already support in PipeWire for Roc. It's probably not enabled in most distros, considering Roc's latest stable release is quite ancient.

  • libhttpserver

    C++ library for creating an embedded Rest HTTP server (and more)

  • SaaSHub

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

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 2023-02-01.

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 12,486
2 ZeroTier 10,287
3 C++ Workflow 9,950
4 cpp-httplib 8,693
5 ZeroMQ 8,274
6 Proxygen 7,713
7 C++ REST SDK 7,189
8 POCO 6,725
9 GameNetworkingSockets 6,429
10 WebSocket++ 5,990
11 cpr 5,225
12 nghttp2 4,180
13 Boost.Beast 3,654
14 evpp 3,174
15 PcapPlusPlus 2,128
16 cpp-netlib 1,901
17 Restbed 1,766
18 Silicon 1,730
19 libquic 1,667
20 MongoDB C++ Driver 937
21 RESTinio 930
22 roc-toolkit 833
23 libhttpserver 716
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives