caozhiyi/CppNet
Cross platform network library with C++11 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3012
- days_rel: n/a
- days_push: 748
- n_releases_24m: 0
Adoption not part of the score
1131 stars · 252 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CppNet is a cross-platform, multithreaded C++11 network library implementing the proactor pattern for asynchronous TCP I/O. It uses epoll, wepoll (IOCP), and kqueue under the hood and exposes a small socket-like callback API supporting IPv4 and IPv6.
Use cases
- build a high-performance TCP server in C++
- write asynchronous network clients and servers with callbacks
- implement a simple HTTP server on Linux, Windows, and macOS
- handle thousands of concurrent socket connections efficiently
- build an RPC or file-transfer service over TCP
- replace raw epoll/kqueue/IOCP code with a portable abstraction
When to choose
- you need a lightweight, portable async TCP library in modern C++ with minimal dependencies
- you want proactor-style asynchronous callbacks similar to system socket APIs
- you need cross-platform support for epoll, kqueue, and IOCP/wepoll from one codebase
- you want per-socket memory pooling and time-wheel timers built in
When to avoid
- you need full-featured application protocols like HTTP/2, TLS, or WebSockets out of the box
- you prefer a large, widely-adopted ecosystem like Boost.Asio with extensive documentation
- your project requires UDP, QUIC, or other non-TCP transports
- you need commercial-grade support or a very large contributor community
Facets
library · maturity active
http-server websocket concurrency networking networking backend developer-tools cross-platform windows cpp cross-platform proactor-pattern epoll iocp kqueue tcp async-io event-driven c++11 timer memory-pool linux macos
1 source
- readme: https://github.com/caozhiyi/CppNet · fetched 2026-08-28 · 0f59a7181812
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| caozhiyi/CppNet | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem