C++ peer-to-peer

Open-source C++ projects categorized as peer-to-peer

Top 18 C++ peer-to-peer Projects

peer-to-peer
  1. ZeroTier

    A Smart Ethernet Switch for Earth

    Project mention: The Cheapest NAS | news.ycombinator.com | 2024-07-03

    Tailscale uses Go https://tailscale.com/security#tailscale-is-written-in-go which might explain the larger sizes.

    A cursory look through https://github.com/zerotier/ZeroTierOne shows more C++ and some Rust. Not sure how much static linking is involved here.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. GameNetworkingSockets

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

    Project mention: Quake 3 Source Code Review: Network Model | news.ycombinator.com | 2024-11-23

    GameNetworkingSockets from Valve. Maybe not middleware enough? You have to implement the serialization and a state update strategy yourself.

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

    https://github.com/ValveSoftware/GameNetworkingSockets

  4. libdatachannel

    C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets

    Project mention: WebRTC for the Curious | news.ycombinator.com | 2025-04-11
  5. sonobus

    Source code for SonoBus, a real-time network audio streaming collaboration tool.

    Project mention: Show HN: AOO – real-time audio streaming and messaging | news.ycombinator.com | 2024-10-12

    I think you could use https://sonobus.net/ for this purpose. It is based on AOO and has very nice and easy-to-use UI. You could run the SonoBus plugin in your DAW and your clients could use the standalone. Just like AOO, SonoBus supports both Opus and raw PCM. Opus at 128 kbps/channel is pretty much transparent. With PCM you might run into packet loss issues.

    (AOO has an option for resending lost packets which can be used to create very stable PCM streams. However, I'm not sure if SonoBus actually supports this option...)

    That being said, Listeto looks very neat and the pricing seems reasonable. Is there a particular reason why you want to move away?

  6. Speek

    Privacy focused messenger that doesn't trust anyone with your identity, your contact list, or your communications

  7. husarnet

    Husarnet is a Peer-to-Peer VPN to connect your laptops, servers and microcontrollers over the Internet with zero configuration.

  8. ricochet-refresh

    Anonymous peer-to-peer instant messaging

    Project mention: Ricochet Refresh – open-source private and anonymous instant messaging over Tor | news.ycombinator.com | 2024-10-31
  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. libtorrent4j

    libtorrent for java, a swig Java interface for libtorrent

  11. ParsecSoda

    Parsec Soda is a custom open-source game streaming app that integrates with Parsec API and is focused in Host experience.

  12. trango-self-hosted

    Host trango and communicate with those around you without the internet!

  13. datachannel-wasm

    C++ WebRTC Data Channels and WebSockets for WebAssembly in browsers

  14. QuantumGate

    QuantumGate is a peer-to-peer (P2P) communications protocol, library and API written in C++.

  15. openwebtorrent-tracker

    Fast and simple Webtorrent tracker implementation in C++

  16. conceal-desktop

    Conceal Desktop (GUI)

  17. qTox_enhanced

    qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.

  18. Envy

    Envy. Multi P2P Filesharing+Bittorrent, Shareaza Legacy. (by GetEnvy)

  19. i2pchat

    Secure, anonymous peer-to-peer chat

  20. turbo-beep

    Peer to peer file sharing and messaging between different networks including server acting as a mediator (TCP hole punching).

  21. 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++ peer-to-peer discussion

Log in or Post with

C++ peer-to-peer related posts

  • How do I share folder between my Linux mint laptops?

    4 projects | /r/linuxmint | 8 Dec 2023
  • How are game servers financed

    1 project | /r/gamedev | 6 Dec 2023
  • Compiling zerotier-cli on Linux Mint 21

    1 project | /r/zerotier | 26 Oct 2023
  • Is there a way to bind ZeroTier with the Android Blue Iris app?

    1 project | /r/BlueIris | 28 Sep 2023
  • ZeroTier-GTK development help

    1 project | /r/zerotier | 10 Jul 2023
  • [Question] What are some good apps/websites for music collaboration?

    1 project | /r/BedroomBands | 16 Jun 2023
  • Live online jam tonight 10pm est

    1 project | /r/InMetalWeTrust | 10 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 ZeroTier 15,302
2 GameNetworkingSockets 8,618
3 libdatachannel 1,990
4 sonobus 1,700
5 Speek 743
6 husarnet 336
7 ricochet-refresh 265
8 libtorrent4j 230
9 ParsecSoda 207
10 trango-self-hosted 182
11 datachannel-wasm 164
12 QuantumGate 110
13 openwebtorrent-tracker 76
14 conceal-desktop 67
15 qTox_enhanced 53
16 Envy 50
17 i2pchat 26
18 turbo-beep 13

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?