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

node-http-proxy

Programmable HTTP and WebSocket proxying for Node.js

node-http-proxy is an HTTP programmable proxying library for Node.js with WebSocket support. It fits reverse proxies, load balancers, and custom proxy servers.

  • HTTP and HTTPS proxying
  • WebSocket proxy support
  • Request and response pipelines
JavaScriptDetails →
★ 14.1k⟳ 6 years agoMIT
Networking & ConnectivityNo commits in 18+ months

iroh

Public-key dialing with QUIC and NAT traversal

Iroh is a library that connects apps by public key instead of IP, using QUIC, hole punching, and relay fallbacks.

  • Dial endpoints by public key
  • QUIC-based encrypted transport
  • NAT hole punching with relay fallback
RustLinuxDetails →
★ 13.2k⟳ todayApache-2.0 · open core

quiche

Rust QUIC transport and HTTP/3 implementation

quiche implements IETF QUIC and HTTP/3 with a low-level Rust API. Applications supply sockets, timers, and pacing while the library handles protocol state.

  • IETF QUIC protocol implementation
  • HTTP/3 module
  • Configurable connection limits
RustCLIDetails →
★ 12.9k⟳ 7 days agoBSD-2-Clause

CNI

Container network interface specification and libraries

CNI defines how Linux and Windows containers attach to networks via plugins. The project ships the specification, Go integration libraries, and tooling to run plugins when containers start or stop.

  • CNI specification
  • Go integration library
  • Plugin execution CLI
GoLinux, WindowsDetails →
★ 6.2k⟳ 1 month agoApache-2.0

Rust Libp2p

Rust implementation of the libp2p network stack

rust-libp2p is the central Rust codebase for the libp2p specification. It provides transports, multiplexers, swarm APIs, and protocol crates for peer-to-peer apps.

  • libp2p-core transports
  • Stream muxer implementations
  • Swarm NetworkBehaviour API
RustDetails →
★ 5.7k⟳ todayMIT

REALITY

Server-side REALITY TLS camouflage for proxy stacks

REALITY implements the server-side REALITY protocol as a Go fork of the TLS package, letting proxies mimic third-party TLS sites without hosting your own certificate front.

  • REALITY protocol server implementation
  • Go tls package fork
  • TLS fingerprint masking goals
GoDetails →
★ 5.7k⟳ 26 days agoMPL-2.0