I've been developing LightnerX, an open-source C++17 networking library built on top of GameNetworkingSockets.
I recently released v0.2.0-beta, which includes a complete migration from C++26 modules to C++17, improvements to connection lifecycle management, error handling, and expanded automated testing.
The library provides:
- Client-server connection management.
- Message batching and targeted delivery (single client, groups, or broadcast).
- Message serialization and interpretation.
- INER, a semantic protocol built around an authoritative server model.
- Modular components that can be integrated without adopting an entire framework.
One of my main goals is to keep the library flexible. Developers control their own update loops, threading, and application architecture.
I've spent quite a bit of time testing the implementation, including differential tests against the original C++26 version and cross-version UDP integration tests.
However, passing tests doesn't necessarily mean the API is pleasant to use or that the architecture makes sense for real projects.
That's where I'd appreciate some outside perspectives.
A few things I'm particularly interested in:
- Does the API seem intuitive for someone building a multiplayer game?
- Are there architectural decisions you'd approach differently?
- Is there anything missing that would prevent you from using it in a real project?
- Is the documentation clear enough for someone unfamiliar with the library?
I'm not necessarily looking for more features to add. I'd rather identify actual problems before expanding the project further.
Repository: https://github.com/pietroth/LightnerX
Any technical criticism is welcome, especially regarding the public API, design decisions, and potential limitations.