This project is the implementation of WebSockets in c++ using lib WebSockets - lws. I wrote post about it in my blog.
The project uses CMake as a build system.
Clone this repository and then fetch the git submodule dependencies:
git submodule update --init --recursiveAnd use this to build it:
cd websockets && mkdir Debug && cd Debug && cmake -DCMAKE_BUILD_TYPE=Debug .. && makeIn your own project that uses CMake as a build system, clone this repository and add the following in CMakeLists.txt
target_link_libraries(${TARGET} PRIVATE websockets)
target_link_libraries(${TARGET} PRIVATE WebSockets)
add_subdirectory(websockets EXCLUDE_FROM_ALL)