# KCP

> Fast, reliable ARQ protocol that cuts latency compared with TCP

Source: https://talira.ai/catalog/kcp-y7dgrwsa
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / network connectivity](https://talira.ai/categories/libraries/network-connectivity)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Linwei (skywind3000)](https://talira.ai/orgs/skywind3000.md)

KCP is a reliable transport protocol (ARQ) that trades some bandwidth for lower latency: its maker reports 30 to 40% lower average latency than TCP and up to three times lower maximum delay. It gets there with a gentler retransmission timeout, selective and fast retransmission, non-delayed ACKs and optional flow control. It's just the algorithm, two C files (ikcp.h and ikcp.c) with no I/O of its own, so you run it over UDP or any other transport, and it's used in games, P2P systems and tunnels such as kcptun.

## Links

- GitHub: https://github.com/skywind3000/kcp

## Problems it solves

- reliable low-latency protocol over UDP for a multiplayer game
- reduce latency of a TCP connection on a lossy network
- add reliability to a UDP P2P connection

## Features

- selective and fast retransmission
- 1.5x RTO back-off in fast mode
- non-delayed ACKs
- normal and fast modes
- two-file C implementation with no I/O
- transport-agnostic, usually over UDP

## Limitations

- It's only the protocol algorithm: your code sends and receives the packets (over UDP, say) and passes them in, and it trades extra bandwidth for lower latency.[^1]

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.27, adoption 0.85, momentum 0.63, community 0.65, backing 0.30, extensibility 0.00.

- latest release 2.1.1 6 months ago
- 17.0k GitHub stars
- 40 contributors
- backed by Linwei (skywind3000)

Warnings:

- last commit 5 months ago

## Sources

[^1]: https://github.com/skywind3000/kcp/blob/master/README.en.md (checked 30 Nov 2026)
[^2]: https://github.com/skywind3000/kcp/blob/master/LICENSE (checked 30 Nov 2026)
