Giter VIP home page Giter VIP logo

netcode.io's Introduction

Travis Build Status

netcode.io

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

It's designed for client server/games with dedicated servers, like first person shooters and e-sports.

It has the following features:

  • Token system so only authenticated clients can connect to your server.
  • Packets sent between clients and server are encrypted and signed.

And it's secure by design:

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

Save yourself some time by using netcode.io instead of writing and testing all this yourself!

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.01 standard.

Source Code

This repository holds the reference 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, a recognized expert in the field of game network programming with over 15 years experience in the game industry.

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

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

Sponsors

netcode.io is generously sponsored by:

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

License

BSD 3-Clause license.

netcode.io's People

Contributors

gafferongames avatar vvanders avatar wirepair avatar toqueteos avatar armandgray avatar ryan-scott-dev avatar derekargueta avatar johannesmp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.