Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

websocketpp

> 编程语言
Open source

C++ websocket client/server library

7.7K stars0 likes1 views
WebsiteGitHub

About

C++ websocket client/server library

WebSocket++ (0.8.2)

WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket Protocol. It allows integrating WebSocket client and server functionality into C++ programs. It uses interchangeable network transport modules including one based on raw char buffers, one based on C++ iostreams, and one based on Asio (either via Boost or standalone). End users can write additional transport policies to support other networking or event libraries as needed.

Major Features

  • Full support for RFC6455
  • Partial support for Hixie 76 / Hybi 00, 07-17 draft specs (server only)
  • Message/event based interface
  • Supports secure WebSockets (TLS), IPv6, and explicit proxies.
  • Flexible dependency management (C++11 Standard Library or Boost)
  • Interchangeable network transport modules (raw, iostream, Asio, or custom)
  • Portable/cross platform (Posix/Windows, 32/64bit, Intel/ARM/PPC)
  • Thread-safe

Get Involved

Project Website http://www.zaphoyd.com/websocketpp/

User Manual http://docs.websocketpp.org/

GitHub Repository https://github.com/zaphoyd/websocketpp/

GitHub pull requests should be submitted to the develop branch.

Announcements Mailing List http://groups.google.com/group/websocketpp-announcements/

IRC Channel #websocketpp (freenode)

Discussion / Development / Support Mailing List / Forum http://groups.google.com/group/websocketpp/

Author

Peter Thorson - [email protected]

Issues· 484 open

View all issuesOpen on GitHub
  • #1197

    A malicious proxy can crash the process by sending a malformed response

    Updated Sep 10, 2026
  • #1139

    Maintainership?

    Updated Aug 25, 2026
  • #1193

    permessage-deflate client offer is not honored when the server omits client_no_context_takeover

    Updated Apr 3, 2026
  • #1191

    permessage-deflate inflation does not enforce max_message_size

    Updated Apr 3, 2026
  • #1170

    Fails to run on newer asio versions (Fix here too)

    Updated Mar 5, 2026
  • #514

    Asio `io_service` -> `io_context` change

    Asio TransportUpdated Jan 23, 2026
  • #1188

    Fix disabled permessage_deflate error code construction (MSVC)

    Updated Jan 13, 2026
  • #921

    Wrong URI parsing if no path and query string is present (wss://host?query)

    Updated Dec 17, 2025
  • #1157

    Library does not work anymore with boost 1.87

    Updated Dec 15, 2025
  • #991

    In basic.hpp, a few compiling error with g++11, C++20,

    Updated Dec 11, 2025

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言