A high-performance, cross-platform socket communication library for Delphi and Free Pascal supporting HTTP, HTTPS, and WebSocket.
Delphi-Cross-Socket is a high-performance, cross-platform socket communication library for Delphi and Free Pascal (FPC) developers. It enables the creation of high-concurrency network applications like HTTP/HTTPS servers and WebSocket services that run on Windows, macOS, Linux, iOS, and Android by abstracting platform-specific I/O models for optimal performance.
Delphi and Free Pascal developers building cross-platform network applications requiring high concurrency, such as servers, real-time communication services, or clients for Windows, macOS, Linux, iOS, and Android.
Developers choose it for its platform-optimized I/O (IOCP on Windows, KQUEUE on macOS/iOS, EPOLL on Linux/Android), zero-copy architecture for high throughput, and comprehensive built-in support for protocols like HTTP/HTTPS and WebSocket with SSL/TLS flexibility (OpenSSL, mbedtls).
Delphi cross platform socket library
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses native I/O models like IOCP on Windows, KQUEUE on macOS/iOS, and EPOLL on Linux/Android, as stated in the README, ensuring maximum efficiency for each OS.
Supports over 100,000 concurrent connections on Windows with configuration guidance, and tested on multiple platforms, making it scalable for demanding network applications.
Eliminates memory copies to enhance throughput and reduce latency, a key feature highlighted for performance-critical networking.
Includes HTTP/HTTPS and WebSocket servers and clients with gzip/deflate compression, reducing reliance on external libraries for common protocols.
The README notes mbedtls integration is experimental and not for production, limiting SSL/TLS options if OpenSSL is unsuitable.
Achieving maximum concurrency requires platform-specific tweaks, such as modifying Windows registry or facing macOS connection limits, adding deployment overhead.
Full functionality requires Delphi 10.2 Tokyo or higher and FPC 3.3.1+, which can exclude teams on legacy compiler versions.