Cross platform Networking Programming library which works on Linux and Windows both.
It supports TCP sockets and Web Sockets (via IXWebSocket library)
pacman -S mingw-w64-x86_64-zlib
pacman -S mingw-w64-x86_64-mbedtls
sudo apt install libssl-dev
sudo apt install libmbedtls-dev
build_master_meson wrap install spdlog
git clone https://github.com/ravi688/IXWebSocket.git
cd IXWebSocket
cmake -S . -B build_tls -GNinja -DUSE_TLS=1 -DCMAKE_INSTALL_PREFIX=/mingw64 -DCMAKE_BUILD_TYPE=Release
cmake --build build_tls
cmake --install build_tls
git clone https://github.com/ravi688/IXWebSocket.git
cd IXWebSocket
cmake -S . -B build_tls -GNinja -DUSE_TLS=1 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
cmake --build build_tls
sudo cmake --install build_tls
build_master meson setup build
build_master meson compile -C build
python client_server_test.py build
- https://github.com/ravi688/NetSocket/blob/main/source/main.client.cpp
- https://github.com/ravi688/NetSocket/blob/main/source/main.server.cpp
- https://github.com/ravi688/NetSocket/blob/main/source/main.client_async_socket.cpp
- https://github.com/ravi688/NetSocket/blob/main/source/main.server_async_socket.cpp