KCP
:zap: KCP - A Fast and Reliable ARQ Protocol (by skywind3000)
netcode.io
Secure client/server connections over UDP (by mas-bandwidth)
KCP | netcode.io | |
---|---|---|
7 | 6 | |
16,292 | 2,512 | |
0.9% | 0.6% | |
5.2 | 8.5 | |
4 months ago | 19 days ago | |
C | C | |
MIT 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.
KCP
Posts with mentions or reviews of KCP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-30.
- KCP – A TCP alternative optimized for latency
- Ousterhout: It's time to replace TCP in the Datacenter [pdf]
-
Multiplayer Networking Solutions
KCP Is a kind of protocol ( like UDP and TCP ) that is reliable like TCP but is faster, at to cost of slightly bigger bandwidth costs.
- KCP - A Fast and Reliable ARQ Protocol
-
How feasible is this idea? Creating a battery run audio transmitter and receiver over TCP/IP
I'd consider KCP protocol over TCP, it has 30-40% lower latency at the expense of 20% higher bandwidth.
- KCP: A Fast and Reliable ARQ Protocol
-
Open-source game server for fast-paced games
i see, i know KCP implementation i don't see in your code any of the GO KCP implementations did you write it by yourself?
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 KCP and netcode.io you can also consider the following projects:
RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.
Simple-WebSocket-Server
libquic - QUIC, a multiplexed stream transport over UDP
evpp - A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.
GameNetworkingSockets - Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.