November 12, 2018

302 words 2 mins read

networkprotocol/netcode.io

networkprotocol/netcode.io

A protocol for secure client/server connections over UDP

repo name networkprotocol/netcode.io
repo link https://github.com/networkprotocol/netcode.io
homepage
language C
size (curr.) 5954 kB
stars (curr.) 1739
created 2016-12-29
license BSD 3-Clause “New” or “Revised” License

Travis Build Status

netcode.io

netcode.io is a connection-oriented protocol built on top of UDP.

It’s designed for use in client/server games with dedicated servers.

It has the following security features:

  • Protection against man-in-the-middle attacks.
  • Protection against DDoS amplification attacks.
  • Protection against packet replay attacks.
  • Protection against zombie clients.

netcode.io has been used in several AAA game projects and is stable and mature.

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 implementation of netcode.io in C.

Other netcode.io repositories include:

Contributors

These people are awesome:

Thanks for your contributions to netcode.io!

Author

The author of this library is Glenn Fiedler.

Glenn wrote an article series about the development of this library called Building a Game Network Protocol.

Other open source libraries by the same author include: yojimbo and reliable.io

Sponsors

netcode.io was generously sponsored by:

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

License

BSD 3-Clause license.

comments powered by Disqus