rocketnet is a client/server UDP transport and message library for games with thousands of players.
Want to make multiplayer games with thousands of players and bandwidth at line rate? Now you can! Details here.
Start here. We take you through building the library, sending a message over an in-memory connection, and running a client and server in separate processes over UDP.
| Task | Documentation |
|---|---|
| Build, install, or embed the SDK | Building |
| Update, receive, simulate, queue, and send each frame | Integration guide |
| Understand tokens and key ownership | Sessions, Keys |
| Replace development tokens with a backend | Production integration |
| Choose and deploy a transport | Transports |
| Size buffers, capacity, and host resources | Memory and capacity |
| Diagnose a refused call, missing message, or shutdown wait | Troubleshooting |
| Find reference, engineering, and qualification documents | Documentation index |
For a complete C program, see the integration example. For an AI coding agent, start with AGENTS.md. The public header defines the C API; STANDARD.md links to the normative wire and message protocols.
The default build is for development. Before deployment, build with
-DROCKETNET_DEV=OFF, link the resulting production library, and supply your
title's backend public key, protocol id, and packet filter. Production builds
refuse development credentials and the test packet filter. Follow the
production integration guide; changing a build flag
alone does not provide a production backend.
| Directory | Contents |
|---|---|
sdk/ |
Library sources, including the XDP program in sdk/xdp/ |
examples/ |
Programs demonstrating the public API |
tests/ |
Unit and functional tests, fuzzing, client/server harnesses, load and soak tools |
benchmarks/ |
Transport and instruction-count measurement harnesses |
proofs/ |
Formal models and proofs, grouped under tla/ and cbmc/ |
standard/ |
Normative protocol documents, rationale, and checked constant pins |
docs/ |
Integration guides, engineering notes, decisions, and recorded evidence |
tools/ |
Developer utilities and repository checks |
rocketnet is licensed under the GNU Affero General Public License v3.0.
See Credits for its creator and sponsor, and Security for reporting a vulnerability.