Please go to https://github.com/eidheim/Simple-WebSocket-Server, as this sourceforge page will no longer be updated.
Features
- RFC 6455 mostly supported: text/binary frames, ping-pong, connection close with status and reason.
- Thread pool
- Platform independent
- WebSocket Secure support
- Timeouts, if any of Server::timeout_request and Server::timeout_idle are >0 (default: Server::timeout_request=5 seconds, and Server::timeout_idle=0 seconds; no timeout on idle connections)
- Simple way to add WebSocket endpoints using regex for path, and anonymous functions
- An easy to use WebSocket and WebSocket Secure client library
- C++ bindings to the following OpenSSL methods: Base64, MD5, SHA1, SHA256 and SHA512 (found in crypto.hpp)
License
MIT LicenseFollow Simple WebSocket Server C++
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Simple WebSocket Server C++!