qmetrics.net

KCP

Fast reliable ARQ transport over user-defined UDP

A C ARQ protocol that cuts latency versus TCP at modest bandwidth cost, integrated via callbacks without internal syscalls.

Overview

KCP is a reliable ARQ protocol designed for lower average latency than TCP on lossy or jittery networks, trading roughly ten to twenty percent extra bandwidth for roughly thirty to forty percent lower average delay and shorter worst-case delays in the project’s description. It is a pure algorithm: it does not send or receive UDP packets itself and expects the host application to provide output callbacks and even clock timing, with no system calls inside the core.

The implementation ships as two C source files that can be copied into an existing stack. Normal and fast modes adjust retransmission, selective resend, ACK behavior, and optional flow control. Operators configure nodelay, interval, resend thresholds, congestion behavior, windows, MTU, and minimum RTO through documented API calls.

KCP is positioned as a modular protocol unit that can be combined with encryption, FEC, or routing layers rather than as a monolithic networking stack. It has been used in games and large-scale networked products cited by the author, and can be installed via the vcpkg package manager.

Key features

  • Selectable fast and normal modes
  • Selective packet retransmission
  • Fast retransmit on ACK gaps
  • Configurable delayed ACK
  • Combined ACK and UNA headers
  • Optional reduced flow control
  • Two-file C integration
  • Callback-based UDP framing

Use cases

  • UDP games and realtime sync
  • Low-latency tunnels such as kcptun
  • Custom P2P or ARQ stacks
  • Mobile or Wi-Fi lossy links
  • Embedding reliability in existing protocols

Tags

Similar software

FreeDomain

Free domain registration with DNS learning resources

DigitalPlat FreeDomain lets people register free domains under several extensions, point custom nameservers at a DNS provider, and follow guides from setup through deployment.

★ 209.4k⟳ 3 months agoAGPL-3.0

Clash Verge Rev

Cross-platform Tauri desktop GUI for Clash Meta proxying

Clash Verge Rev is a desktop GUI for the Clash Meta proxy kernel on Windows, macOS, and Linux. It offers profile management, system proxy modes, and keeps configuration on your device.

★ 161.1k⟳ yesterdayGPL-3.0

v2rayN

Desktop GUI client for proxy cores

v2rayN is a graphical client for Windows, Linux, and macOS that works with Xray, sing-box, and related proxy stacks. Prebuilt packages ship for common CPU architectures.

★ 121.6k⟳ yesterdayGPL-3.0

frp

Self-deployed reverse proxy for NAT and firewall bypass

frp pairs a public-facing frps server with frpc clients to expose TCP, UDP, HTTP, and HTTPS services behind NAT or firewalls, including P2P connect mode.

★ 110.8k⟳ 18 days agoApache-2.0

Caddy

Extensible server platform with automatic TLS

Caddy is an extensible server platform that enables HTTPS by default. It is often used as an HTTPS and HTTP server with a modular Go-based architecture.

★ 79.6k⟳ 4 days agoApache-2.0

Traefik Labs

Dynamic HTTP reverse proxy and load balancer for microservices

Traefik routes HTTP traffic to microservices and balances load across backends. It watches orchestrators and registries to update routes without manual restarts.

★ 65.8k⟳ 3 days agoMIT