# socketio/socket.io-client-cpp

C++11 implementation of Socket.IO client

Repository: https://github.com/socketio/socket.io-client-cpp
Canonical: https://ross.abutalabs.com/products/socketio-client-cpp
Language: C++
License: MIT
License Family: permissive
Last push: 2025-08-28T07:23:05+00:00

## Health v2 (maintenance only)
Score: 40/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 39, release rhythm 8, longevity 100
- inputs: {"age_days": 4175, "days_push": 370, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2356, forks 740 (observed 2026-08-28T04:06:40.631816+00:00)

## What it is
A C++11 client library for the Socket.IO real-time event protocol, built on websocket++ with a JS-like API. It supports binary payloads, automatic JSON encoding, multiplexing, and works across desktop and mobile platforms.

## Use cases
- connect a C++ app to a Socket.IO server
- build a real-time chat client in C++
- add websocket event messaging to a Qt application
- integrate Socket.IO into an iOS app
- emit and receive binary data over Socket.IO
- replace the JS Socket.IO client with a native C++ one

## When to choose
- your backend uses Socket.IO 3.x/4.x and you need a native C++ client
- you need cross-platform real-time messaging in C++ including mobile
- you want a JS-like Socket.IO API with lambda event handlers

## When to avoid
- you need HTTP long-polling fallback - only WebSocket transport is implemented
- you must connect to Socket.IO 1.x/2.x servers without allowEIO3
- you are not using C++11 or newer

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-client, serialization
- domain: web-development, cross-platform, developer-tools
- platform: cpp, cross-platform, windows
- tags: socketio, realtime-messaging, c++11, websocketpp, event-driven, real-time, ios, macos, linux

## Member repositories
- socketio/socket.io-client-cpp (main) score 40

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.631816+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:25.728452+00:00, confidence not recorded.
  - readme: https://github.com/socketio/socket.io-client-cpp (fetched 2026-08-28T04:06:40.631816+00:00, sha 6cbf36c07465)
- Data as of 2026-08-30T08:39:29.467469+00:00.
