This project has been forked from: isaelblais/socket.io-cpp where it was forked from himynameschris/socket.io-poco. The forked version (of Isaël Blais) seemed to function in some contexts, but not with https://markets.profitview.net.
Some significant changes were required to get it working. It now appears robust.
-
Compilers
sudo apt install build-essential
-
Other software packages
sudo apt install libssl-dev sudo apt install zlib1g-dev sudo apt-get install libiodbc2 libiodbc2-dev sudo snap install --classic cmake
This deploys Poco to /usr/local
git clone -b master https://github.com/pocoproject/poco.git
cd poco
mkdir cmake-build
cd cmake-build
cmake -H.. -B. -DENABLE_DATA_SQLITE=OFF -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_POSTGRESQL=OFF -DENABLE_DATA_ODBC=OFF
cmake --build .
sudo cmake --install .
Note: the Poco build may take tens of minutes
git clone https://github.com/profitviews/profitview_socketio_cpp.git
cd profitview_socketio_cpp/build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
This will create (with debugging symbols):
build/profitview_socketio_cpp
which will print streamed prices from https://markets.profitview.netbuild/libprofitview_socketio.a
a static library containing classes allowing this streaming.