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:

Programming language: C
License: BSD 3-clause "New" or "Revised" License
Tags: Networking     UDP     Game Dev    
Latest version: v1.2.1

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.

Do you think we are missing an alternative of netcode.io or a related project?

Add another 'Networking' Library


Travis Build Status


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:


These people are awesome:

Thanks for your contributions to netcode!


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


netcode was generously sponsored by:

And by individual supporters on Patreon. Thank you. You made this possible!


BSD 3-Clause 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.