HP-Socket is a general communication framework with server, client, and Agent components for TCP, UDP, and HTTP workloads across several language bindings.
Overview
HP-Socket is a high-performance network communication framework aimed at TCP, UDP, and HTTP systems. It ships server, client, and Agent component types so applications can handle listening endpoints, single connections, or many outbound sockets from one object.
The server side uses IOCP on Windows and epoll on Linux with memory pool and private heap techniques for concurrent scenarios. Agent components mirror the server architecture for multi-client workloads; client components use event-select or poll models suited to smaller client counts.
The framework wraps low-level socket work behind event-driven APIs with connection IDs, PUSH, PULL, and PACK receive models, and optional SSL and HTTP layers. Interfaces exist for C and C++, with additional language bindings noted in project materials including C#, Delphi, Java, Python, and others.
Applications follow a documented workflow: create listeners, bind components, start services, handle connect, receive, and close events, then stop and destroy objects. HP-Socket is positioned as transport-only—it moves byte streams and leaves protocol parsing to the host application.
Key features
- Server client and Agent components
- TCP UDP and HTTP stacks
- IOCP and epoll server models
- SSL and HTTP component layers
- PUSH PULL PACK receive modes
- Event-driven connection callbacks
- Multiple language API bindings
- Tunable threads pools and buffers
Use cases
- Build custom TCP or UDP servers
- Manage thousands of client sockets
- Embed HTTPS or SSL sockets in apps
- Prototype high-concurrency network services