Skip to content

Repository files navigation

Websockets in c++

This project is the implementation of WebSockets in c++ using lib WebSockets - lws. I wrote post about it in my blog.

Download & install libwebsockets

The project uses CMake as a build system.

Clone this repository and then fetch the git submodule dependencies:

git submodule update --init --recursive

And use this to build it:

cd websockets &&  mkdir Debug && cd Debug && cmake -DCMAKE_BUILD_TYPE=Debug .. && make

Add as a CMake dependency

In 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)

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages