qmetrics.net

KCP Go

Go reliable UDP transport with optional FEC and crypto

kcp-go provides ordered, reliable byte streams over UDP for Go programs. Optional Reed-Solomon FEC and packet encryption sit on familiar net.Conn APIs.

Overview

kcp-go implements the KCP protocol for Golang, giving applications TCP-like streams while using UDP underneath. It exposes net.Conn and net.Listener so existing stream code can adapt with Dial and Listen variants, including options for encryption and forward error correction.

Reliability covers ordering, retransmission, and configurable latency-versus-throughput tuning. Optional Reed-Solomon FEC can recover some lost packets; receivers can adapt to sender shard settings. Optional packet encryption includes AEAD modes; the docs warn non-AEAD modes are not tamper-proof.

The library targets high concurrency with shared timers and batched UDP I/O. On Linux, macOS, Windows, and several BSD systems, wildcard listeners can track reply source addresses via control messages. SNMP-style statistics are compiled in unless built with kcpnosnmp tags. smux can multiplex logical streams over one session.

Reported deployments include online games, live broadcast, file sync, and network acceleration. Encryption hides payloads but not metadata such as endpoints, sizes, and timing.

Key features

  • Reliable ordered UDP streams
  • net.Conn and net.Listener API
  • Optional Reed-Solomon FEC
  • Optional AEAD packet encryption
  • Configurable update and windows
  • Per-session write rate limiting
  • Batched platform UDP I/O
  • smux stream multiplexing companion

Use cases

  • Low-latency game networking
  • Live streaming data channels
  • Network acceleration over UDP
  • File sync with lossy links
  • Encrypted overlay transports

Tags

Similar software

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.

  • Selectable fast and normal modes
  • Selective packet retransmission
  • Fast retransmit on ACK gaps
CDetails →
★ 17k⟳ 5 months agoMIT

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