first websocket draft, running on port 8080

This commit is contained in:
badaix 2019-09-28 23:42:03 +02:00
parent ec3f8d8ad5
commit 49bc832870
8 changed files with 198 additions and 34 deletions

View file

@ -27,7 +27,7 @@
* Messages are sent to the client with the "send" method.
* Received messages from the client are passed to the ControlMessageReceiver callback
*/
class ControlSessionTcp : public ControlSession
class ControlSessionTcp : public ControlSession, public std::enable_shared_from_this<ControlSession>
{
public:
/// ctor. Received message from the client are passed to MessageReceiver