---
title: "arknet"
---

> Documentation Index
> Fetch the complete documentation index at: https://openarkstudio.github.io/arknet/llms.txt
> Use this file to discover all available pages before exploring further.

# arknet

arknet is a general-purpose C++20 header-only networking library for clients and
servers using TCP, UDP, RUDP, WebSocket, HTTP and TLS, with native MySQL and Redis clients. It combines
CRTP endpoints with reusable components, supports IPv4 and IPv6, and runs on
Boost.Asio by default or Standalone Asio for supported capabilities.

## Get started

- [Install and configure](/arknet/get-started/installation) — Dependencies, CMake and direct-header integration.
- [First client and server](/arknet/get-started/first-application) — Build and verify a TCP echo.

The CMake interface target supplies headers, compile settings and dependencies; arknet has no compiled library.

## Features

| Capability | Use it for | Start here |
| --- | --- | --- |
| TCP | Ordered streams with application-defined message boundaries | [TCP](/arknet/features/tcp) |
| UDP | Native datagrams and endpoint-based sessions | [UDP](/arknet/features/udp) |
| RUDP | Reliable, ordered messages over UDP with ARQ and optional FEC | [RUDP](/arknet/features/rudp) |
| WebSocket / WSS | Complete messages and HTTP Upgrade | [WebSocket](/arknet/features/websocket) |
| HTTP / HTTPS | HTTP/1.1 requests, responses, routing and middleware | [HTTP](/arknet/features/http) |
| TLS / mTLS | Encrypted transport and certificate verification | [TLS](/arknet/features/tls) |
| MySQL | Native queries, prepared parameters, transactions and exclusive leases | [MySQL](/arknet/features/mysql) |
| Redis | Binary-safe RESP2/RESP3 commands, pipelines and exclusive leases | [Redis](/arknet/features/redis) |

Transport guides include client and server programs; service guides cover clients and pools.
Each guide records configuration, limits and performance.
[Capabilities and support](/arknet/features) records dependencies and planned features.

## Build with arknet

- [Core concepts](/arknet/concepts) — Endpoints, IO models, lifecycle and owned sends.
- [Guides](/arknet/guides) — Socket buffers, external IO, reconnect, timers, routing and IPv6.
- [Examples](/arknet/examples) — Complete programs and build commands.
- [Reference](/arknet/reference/api) — Public types, common operations and configuration.

## Measure and contribute

[Performance](/arknet/performance) provides local results with throughput, RTT,
CPU utilization, measurement conditions and scope. [Testing](/arknet/project/testing)
records correctness checks and their coverage.

[Project](/arknet/project) covers architecture, contribution guidelines and the
roadmap. HTTP/2, HTTP/3, named pipes, Unix domain sockets and RPC remain TODO.
[Release notes](/arknet/project/releases) cover published tags; current-main documentation and test scopes are identified separately.
Deployment capacity and endurance are covered by [production acceptance](/arknet/project/production-readiness).

[Source](https://github.com/OpenArkStudio/arknet) ·
[BSL-1.0](https://github.com/OpenArkStudio/arknet/blob/main/LICENSE) ·
[Third-party notices](/arknet/project/third-party-notices)

Source: https://openarkstudio.github.io/arknet/index.mdx
