Description
It’s designed for games that shunt players from a main website or web backend to a number of dedicated server instances, with each dedicated server having some maximum number of players.
It has the following features:
netcode.io alternatives and similar libraries
Based on the "Networking" category.
Alternatively, view netcode.io alternatives based on common mentions on social networks and blogs.
-
uWebSockets
µWS is one of the most lightweight, efficient & scalable WebSocket & HTTP server implementations available. [Zlib] -
POCO
C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server, mobile and embedded systems. [Boost] website -
libwebsockets
Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server -
cpr
A modern C++ HTTP requests library with a simple but powerful interface. Modeled after the Python Requests module. [MIT] website -
boost.beast(new repo)
HTTP and WebSocket built on Boost.Asio in C++11 -
Simple-Web-Server
A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications. -
wdt
An embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths. [BSD-3-Clause] -
Simple-WebSocket-Server
A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++. -
nope.c
A C language-based ultra-light software platform for scalable server-side and networking applications. Think node.js for C programmers. [GPL2] -
NetIF
Header-only C++14 library for getting network addresses associated with network interface without name lookups on Windows, macOS, Linux, and FreeBSD -
Pion Network Library
Pion Network Library (Boost licensed open source)
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of netcode.io or a related project?
README
netcode
netcode is a simple connection based client/server protocol built on top of UDP.
It has the following features:
- Encrypted and signed packets
- Secure client connection with connect tokens
- Connection based protocol built on top of UDP
and protects your game server from the following attacks:
- Zombie clients
- Man in the middle
- DDoS amplification
- Packet replay attacks
netcode is stable and production ready.
How does it work?
Please refer to the second half of this whitepaper: Why can't I send UDP packets from a browser?
For a complete technical specification, read the netcode 1.02 standard.
Source Code
This repository holds the reference implementation of netcode in C.
This is the primary implementation of netcode, and is always up to date with the latest features.
Other netcode.io repositories include:
- netcode C# implementation
- netcode Golang implementation
- netcode Rust implementation (updated fork of vvanders/netcode.io)
- netcode for Unity
- netcode for UE4
- netcode for Typescript
Contributors
These people are awesome:
- Val Vanders - Rust Implementation
- Walter Pearce - Rust Implementation
- Isaac Dawson - Golang Implementation
- Alan Stagner - Unity integration, C# implementation
- Jérôme Leclercq - Support for random connect token nonce
- Randy Gaul - Discovered vulnerability in replay protection
- Benny Chen - Typescript Implementation
Thanks for your contributions to netcode!
Author
The author of this library is Glenn Fiedler.
Other open source libraries by the same author include: yojimbo and reliable
Glenn is now the founder and CEO of Network Next. Network Next is a radically new way to link networks together. A new internet where networks compete on performance and price to carry your traffic. Check it out at https://networknext.com
Sponsors
netcode was generously sponsored by:
Gold Sponsors
Silver Sponsors
Bronze Sponsors
And by individual supporters on Patreon. Thank you. You made this possible!
License
*Note that all licence references and agreements mentioned in the netcode.io README section above
are relevant to that project's source code only.