bitproto
The bit level data interchange format for serializing data structures (long term maintenance). (by hit9)
netcode.io
Secure client/server connections over UDP (by mas-bandwidth)
bitproto | netcode.io | |
---|---|---|
3 | 6 | |
151 | 2,512 | |
1.3% | 0.2% | |
8.0 | 8.5 | |
5 days ago | 20 days ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bitproto
Posts with mentions or reviews of bitproto.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-06.
-
Are there any libraries for defining and generating code for byte- or bit- aligned messaging or packet formats?
I had a similar use case for embedded microcontroller work. Unfortunately, the only one that I found that lets you have bit-level control is bitproto. The problem with all these protocol formats is that they require generated sources to be included in your project at compile time.
- Show HN: Bitproto – bit level data format for serializing data structures
- The bit level data interchange data format for serializing data structures.
netcode.io
Posts with mentions or reviews of netcode.io.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-06.
-
Multiplayer Networking Solutions
yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames
-
I just want force-feedback
Man-in-the-middling the netcode. From what I can tell, this would work ... but the packets are encrypted. It appears the netcode is largely based on this library, that they sponsor. There appear to be some differences from the "standard" but there are too many similarities to not have a common ancestor. I got pretty far on this, just to at least verify there was encryption. Even if it is not encrypted, it appears to be a custom protocol.
-
What's an actually useful netcode package!
I use netcode.io - if you have read gafferongames posts, this is made by the guy.
-
Why is client FPS limited by netcode?
You may not be there yet with your developer skills but if you are curious you can have a look at the netcode source code. I'm not sure if they're still using it since the switch to Lumberyard and Amazon Services but it's a really good and strong codebase: https://github.com/networkprotocol/netcode
-
Should I write my game server in C so that I can use the latest version of the netcode protocol?
I found that there is a relatively new protocol called netcode.io that provides UDP-like connection between client-server.
-
P2P vs Client Server
If you want to learn more about networking for game in C++, Glenn Fiedler has great articles from the basics to advanced topics: https://www.gafferongames.com/ He also created a library for client-server networking: https://github.com/networkprotocol/netcode (He has a big name in networking, totally recommend reading his articles if you want to learn more about networking)
What are some alternatives?
When comparing bitproto and netcode.io you can also consider the following projects:
msquic - Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
KCP - :zap: KCP - A Fast and Reliable ARQ Protocol
yojimbo - A network library for client/server games written in C++
RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.
keepalived - Keepalived
libquic - QUIC, a multiplexed stream transport over UDP