Hey everyone!
I’d like to share a C++ library I’ve been building:
Sockum
Sockum is a lightweight, modular C++ framework for creating secure and efficient TCP-based client-server applications.
Built-in End-to-End Encryption
Security is a first-class feature in Sockum. All communication between clients and the server is fully encrypted using:
Ed25519 for digital signatures and identity verification
X3DH (Extended Triple Diffie-Hellman) for secure key exchange
Double Ratchet for forward secrecy and resistance to key compromise
Perfect for anyone building secure messaging apps, multiplayer systems, or encrypted data services.
Core Features
Multi-client support with thread-safe handling
Route-based request processing
Built-in serialization tools
File transfer over TCP
Room-based communication (ideal for chat or collab apps)
Fully modular and extensible
Check it out and let me know what you think!