# ldcsaa/HP-Socket

High Performance TCP/UDP/HTTP Communication Component

Repository: https://github.com/ldcsaa/HP-Socket
Canonical: https://ross.abutalabs.com/products/hp-socket
Homepage: https://www.oschina.net/p/hp-socket
Language: C
License: NOASSERTION
License Family: other
Topics: hpsocket, socket, tcp, udp, http, ssl, c, cpp, netcore, windows, linux, network, networking, iocp, epoll, ndk, cross-platform, https, android, websocket
Last push: 2026-02-12T19:50:57+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 58, longevity 100
- inputs: {"age_days": 4642, "days_push": 202, "days_rel": 202, "gap_med": 79.0, "n_releases_24m": 7}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6140, forks 1796 (observed 2026-08-28T04:09:36.452373+00:00)

## What it is
HP-Socket is a high-performance network communication component library for C/C++ providing TCP, UDP, HTTP/HTTPS, and WebSocket server, client, and agent components. It uses IOCP/EPOLL-based communication models with memory pooling to support large-scale, high-concurrency scenarios across Windows, Linux, and Android.

## Use cases
- build a high-concurrency TCP server in C++
- handle tens of thousands of simultaneous socket connections
- implement an HTTP/HTTPS server with SSL support
- create a multi-client TCP agent for mass connections
- add WebSocket support to a native application
- write network code that runs on Windows and Linux
- build an Android NDK network client

## When to choose
- you need C/C++ native network components with high concurrency
- you want IOCP on Windows and epoll on Linux behind one API
- you need TCP, UDP, HTTP, and WebSocket in a single library
- you are building servers or agents that manage large-scale connections

## When to avoid
- you prefer higher-level languages like Go or Python for networking
- you need a full application server rather than a communication component
- your project requires a permissive OSI-approved license (license is non-standard)
- you only need simple, low-volume client sockets

## Facets
- artifact type: library
- maturity: active
- function: http-server, websocket, networking, http-client, rpc
- domain: networking, backend, developer-tools, cross-platform
- platform: windows, cpp, c, cross-platform
- tags: tcp, udp, ssl, iocp, epoll, high-performance, socket, http, https, ndk, linux, android

## Member repositories
- ldcsaa/HP-Socket (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:36.452373+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:34.412089+00:00, confidence not recorded.
  - readme: https://github.com/ldcsaa/HP-Socket (fetched 2026-08-28T04:09:36.452373+00:00, sha 2e85ad6b9c47)
  - homepage: https://www.oschina.net/p/hp-socket (fetched 2026-08-29T08:44:31.374736+00:00, sha a8f4bad831a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
