Registry / networking / socket-io-client

socket-io-client

JSON →
library2023-11-11vcpkgunverified

C++11 implementation of Socket.IO client

vcpkg install socket-io-client
INSTALL
IMPORT
SIG · SOCKET-IO-CLIENT
S
socket-io-client
networkingcppv2023-11-11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sio_client.h
#include <sio_client.h>

Connect to a Socket.IO server and listen for events

#include <sio_client.h> #include <iostream> int main() { sio::client h; h.connect("http://localhost:3000"); h.socket()->on("event", [](sio::event& ev) { std::cout << "Received event" << std::endl; }); h.sync_close(); return 0; }
Debug
Known issues
gotchaRequires linking with Boost libraries (system, thread, date_time, random) and OpenSSL
fix
Ensure all dependencies are installed and linked via CMake target_link_libraries
affects: *
Upgrade
Version history
2023-11-11latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

socket-io-client — pip install socket-io-client · libregistry