Top 13 C UDP Projects
:zap: KCP - A Fast and Reliable ARQ ProtocolProject 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.
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.
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.
A protocol for secure client/server connections over UDPProject 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
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.
LiteSpeed QUIC and HTTP/3 LibraryProject 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.
Reliable UDP networking libraryProject mention: [Hobby // RevShare] Looking For Senior Multiplayer Developer (Unity) | reddit.com/r/INAT | 2021-09-11
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
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.
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
single header C(99) library to implement client-server network code for gamesProject mention: Nbnet: Single header C99 library implements client-server network code for games | news.ycombinator.com | 2021-10-06
nginx module for upstream servers health check. support stream and http upstream. 该模块可以为Nginx提供主动式后端服务器健康检查的功能（同时支持四层和七层后端服务器的健康检测）
Research on UDP/TCP amplification vectors, payloads and mitigations against their use in DDoS AttacksProject mention: Need Help Developing this DoS Code using DNS Amplification Attacks | reddit.com/r/netsec | 2021-09-23
JUICE is a UDP Interactive Connectivity Establishment libraryProject 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  as the default ICE backend of libdatachannel .
Examples for DTLS via SCTP and UDP using OpenSSLProject mention: Engineer apprentice and the OpenSSL Cthulhu | reddit.com/r/crypto | 2021-02-23
C UDP related posts
dperf is a DPDK ecosystem project
1 project | dev.to | 20 Jan 2022
Why is client FPS limited by netcode?
1 project | reddit.com/r/starcitizen | 10 Jan 2022
Handling acks during 1+ second packet loss with Glenn Fiedler's Reliable UDP Solution
1 project | reddit.com/r/gamedev | 27 Dec 2021
Should I write my game server in C so that I can use the latest version of the netcode protocol?
1 project | reddit.com/r/gamedev | 18 Dec 2021
Nbnet: Single header C99 library implements client-server network code for games
1 project | news.ycombinator.com | 6 Oct 2021
I need a good and simple networking library for C++
2 projects | reddit.com/r/gamedev | 6 Oct 2021
P2P vs Client Server
2 projects | reddit.com/r/gamedev | 4 Sep 2021
What are some of the best open-source UDP projects in C? This list will help you:
Are you hiring? Post a new remote job listing for free.