/wsServer

Secure C++ Web Socket Server

Primary LanguageMakefile

wsServer

 C++ Websocket Server based on QtWebsocket API. ### Building steps:

create a building directory for example 'build'

$ mkdir build

CD to the build output directory (KEY STEP)

$ cd build

Call qmake referencing the .pro file

$ qmake ../wsServer.pro

Call make

$ make

Either run the Server in secure mode WSS or normal WS

To do so, make the changes in the constructor of the Server class (src/main.cpp) by changing the value of the boolean argument

constructor Server server(portNumber,secure);

To test connection to the server, i've provided the client.html (ws) or sslClient.html (wss)