/yojimbo

A network library for client/server games with dedicated servers

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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 currently in pre-release for early feedback.

Right now it provides support for:

  • Cryptographically secure authentication via connect tokens
  • Client/server connection management and timeouts
  • Signed and encrypted packets sent over UDP
  • Reliable-ordered messages and data blocks
  • Packet fragmentation and reassembly

For more details please refer to the roadmap.

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

You can support Glenn's work writing articles and open source code via Patreon.

Sponsors

yojimbo is generously sponsored by:

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

License

BSD 3-Clause license.