Open-source C projects categorized as UDP | Edit details
Related topics: #Protocol #Networking #TCP #HTTP #C

Top 13 C UDP Projects

  • GitHub repo KCP

    :zap: KCP - A Fast and Reliable ARQ Protocol

    Project mention: How feasible is this idea? Creating a battery run audio transmitter and receiver over TCP/IP | reddit.com/r/esp8266 | 2021-05-30

    I'd consider KCP protocol over TCP, it has 30-40% lower latency at the expense of 20% higher bandwidth.

  • GitHub repo Mongoose

    Embedded Web Server (by cesanta)

    Project mention: esp32 websockets sessions | reddit.com/r/esp32 | 2022-01-03

    Another option is to use Mongoose. I've got some personal gripes with it but that aside it's a great library. I've implemented a few different WebSocket interfaces with it.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo netcode.io

    A protocol for secure client/server connections over UDP

    Project mention: Why is client FPS limited by netcode? | reddit.com/r/starcitizen | 2022-01-10

    You may not be there yet with your developer skills but if you are curious you can have a look at the netcode source code. I'm not sure if they're still using it since the switch to Lumberyard and Amazon Services but it's a really good and strong codebase: https://github.com/networkprotocol/netcode

  • GitHub repo yojimbo

    A network library for client/server games written in C++

    Project mention: Handling acks during 1+ second packet loss with Glenn Fiedler's Reliable UDP Solution | reddit.com/r/gamedev | 2021-12-27

    I can't remember exactly how best to handle this (Glenn's yojimbo project is probably your best bet for a concrete implementation), but here's an idea: buffer and ACK some packets (e.g. up to N packets following your missing packet) and discard everything else (without ACK) until the missing one shows up. The protocol will then continuously try to send your missing packet, in addition to the packets you've intentionally not ACK'd. Once the missing packet shows up you can process it and any buffered packets up to your next missing packet and repeat.

  • GitHub repo lsquic

    LiteSpeed QUIC and HTTP/3 Library

    Project mention: LiteSpeed QUIC (LSQUIC) is an open-source implementation of QUIC and HTTP/3 | news.ycombinator.com | 2021-02-15

    > the word "thread" does not appear anywhere.

    because it doesn't use threads? The library is intended to be used inside an eventloop. I think the same also applies for other typical transport libraries - e.g. HTTP/2 or TLS ones.

    > Not sure why one would choose this over QUICHE.

    I think there are certainly reasons. lsquic seems a lot more optimized than quiche and most other libraries out there. It makes use of some pretty clever datastructures (e.g. https://github.com/litespeedtech/lsquic/blob/master/src/libl...), and likely has a drastically lower rate of heap allocations than other implementations. Some of those things - like the use of intrusive linked lists - are unfortunately not that easy to apply in Rust.

    I wouldn't be suprised if lsquic outperforms various other implementations - and if that's important to users it might be a reason to choose it (but as always: measure for your use-case).

    I personally also think Rust is the way to go for system level code. But I wouldn't dismiss a project for not using Rust. And this one at least has a fair set of unit-tests, so it looks to me a lot more sane than a lot of other C based projects.

  • GitHub repo ENet-CSharp

    Reliable UDP networking library

    Project mention: [Hobby // RevShare] Looking For Senior Multiplayer Developer (Unity) | reddit.com/r/INAT | 2021-09-11


  • GitHub repo Orca-c

    Live Programming Environment(C Port)

    Project mention: A brief description on my experience developing my second C project | reddit.com/r/C_Programming | 2021-08-12
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo dperf

    dperf is a DPDK based 100Gbps network performance and load testing software.

    Project mention: dperf is a DPDK ecosystem project | dev.to | 2022-01-20

    dperf dpdk

  • GitHub repo nbnet

    single header C(99) library to implement client-server network code for games

    Project mention: Nbnet: Single header C99 library implements client-server network code for games | news.ycombinator.com | 2021-10-06
  • GitHub repo ngx_healthcheck_module

    nginx module for upstream servers health check. support stream and http upstream. 该模块可以为Nginx提供主动式后端服务器健康检查的功能(同时支持四层和七层后端服务器的健康检测)

  • GitHub repo AMP-Research

    Research on UDP/TCP amplification vectors, payloads and mitigations against their use in DDoS Attacks

    Project mention: Need Help Developing this DoS Code using DNS Amplification Attacks | reddit.com/r/netsec | 2021-09-23
  • GitHub repo libjuice

    JUICE is a UDP Interactive Connectivity Establishment library

    Project mention: A simple C implementation to stream H.264 to browser using WebRTC | news.ycombinator.com | 2021-04-07

    Nice, this looks like a simple and clear proof of concept!

    In practice, the dependency on glib, which depends in glib, can become a practical problem for embedded devices.

    That's actually why I developped libjuice [0] as the default ICE backend of libdatachannel [1].

    [0] https://github.com/paullouisageneau/libjuice

  • GitHub repo DTLS-Examples

    Examples for DTLS via SCTP and UDP using OpenSSL

    Project mention: Engineer apprentice and the OpenSSL Cthulhu | reddit.com/r/crypto | 2021-02-23
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 2022-01-20.

C UDP related posts


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

Project Stars
1 KCP 10,594
2 Mongoose 7,879
3 netcode.io 2,138
4 yojimbo 2,064
5 lsquic 922
6 ENet-CSharp 580
7 Orca-c 378
8 dperf 209
9 nbnet 194
10 ngx_healthcheck_module 181
11 AMP-Research 150
12 libjuice 135
13 DTLS-Examples 98
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.