Coder Social home page Coder Social logo

iruluttaluhar / reliable.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mas-bandwidth/reliable

0.0 1.0 0.0 5.16 MB

A simple reliability layer for UDP-based protocols

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.28% C 93.01% Lua 4.96% C++ 1.75%

reliable.io's Introduction

Travis Build Status

Introduction

reliable.io is a simple reliability layer for UDP-based protocols.

It's designed for situations where there is a bidirectional flow of packets, for example, real-time action games like first person shooters.

It has the following features:

  1. Identifies which packets were received by the other side (acks)

  2. Packet fragmentation and re-assembly (so you can send packets larger than MTU)

  3. Estimates for round-trip time and packet loss

Usage

reliable.io is a low-level library that is designed to be used with your existing network layer.

It has no networking support, and no opinion on what topology you should use. Its only requirement is that you have one reliable.io endpoint on each side of a connection.

If you would like a secure client/server communications layer to use with reliable.io, I recommend netcode.io

If you want something higher level that implements reliable-ordered messages on top of reliable.io, try yojimbo.

There is also a port of reliable.io to JavaScript here: https://github.com/mreinstein/reliable.io.js

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 netcode.io

Sponsors

reliable.io is generously sponsored by:

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

License

BSD 3-Clause license.

reliable.io's People

Contributors

gafferongames avatar chorakm avatar

Watchers

James Cloos 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.