d3l7a / yojimbo

A network library for client/server games with dedicated servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis Build Status Coverity Scan Build Status

yojimbo

yojimbo is a network library for client/server games with dedicated servers.

It's designed around the networking requirements of competitive multiplayer games like first person shooters.

As such it provides a time critical networking layer over UDP, with a client/server architecture supporting up to 64 players per-dedicated server instance.

Status

yojimbo is production ready.

It provides:

  • Cryptographically secure authentication via connect tokens
  • Client/server connection management and timeouts
  • Encrypted and signed packets sent over UDP
  • Reliable-ordered messages and data blocks
  • Packet fragmentation and reassembly
  • Estimates of packet loss, latency and bandwidth usage

Source Code

You can get the latest source code by cloning it from github:

  git clone https://github.com/networkprotocol/yojimbo.git

After cloning, make sure to run this command to populate the netcode.io and reliable.io submodules:

  git submodule update --init --recursive

Alternatively, you can download one of the latest releases

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 has written an article series about the development of this library called Building a Game Network Protocol.

This library also lead to the creation of the open source libraries: netcode.io and reliable.io

Sponsors

yojimbo is generously sponsored by:

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

License

BSD 3-Clause license.

About

A network library for client/server games with dedicated servers

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


Languages

Language:C 63.5%Language:C++ 35.2%Language:Lua 0.8%Language:Go 0.5%Language:Batchfile 0.0%