Does anyone know of any attempt to implement the Web Sockets API using Boost asio?
Asked
Active
Viewed 1.3k times
4 Answers
17
I realize this is an old thread, but wanted to update to help those looking for an answer: WebSocket++ fits the bill perfectly. Wt is an entire framework and may be more than many people want.

0x1mason
- 757
- 8
- 20
5
Beast is another project, demonstrated at CppCon 2016 and used in rippled, an open source server application that implements a decentralized cryptocurrency system.
Also see this related question.
1
The closest example I know of anyone doing anything remotely like what you're asking is the Mongoose project. There is an increasing amount of discussion on the Mongoose mailing list about persistent connections for HTTP - but that's obviously not exactly Web Sockets. I would hope that someone would be able to add Web Sockets to it, too, eventually.

Matt Cruikshank
- 2,932
- 21
- 24
-
Use comments, not answers, to, well, *comment*. – Georg Fritzsche Apr 19 '10 at 00:04
-
@gf, okay, turned it into an attempt at an answer. – Matt Cruikshank Apr 20 '10 at 18:26