How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?

This page summarizes the projects mentioned and recommended in the original post on /r/Cplusplus

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

  • Depends. I'd recommend spending 15 minutes browsing the documentation for sys/socket.h so you know enough of the basics, and then get started with a high-level framework depending on your needs. libcurl is amazing, but might not be optimal for your use-case. It might also be worth considering learning Boost.Asio or the new experimental::net proposal for C++23. If you need a major, integrated solution as part of a larger app already using a toolkit, POCO or Qt can work well. ZeroMQ is also amazing for specialized cases.

  • beast

    Beast is now part of Boost, please visit (and Star!) the official repository (by vinniefalco)

  • Docs, GitHub

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • json

    JSON for Modern C++

  • I really like nlohmann/json.

  • rsocket-cpp

    C++ implementation of RSocket

  • https://github.com/rsocket/rsocket-cpp/ supports websockets

  • RapidJSON

    A fast JSON parser/generator for C++ with both SAX/DOM style API

  • RapidJSON is also excellent, like fantastic when performance matters. Not sure there's a much faster JSON implementation anywhere, and I've written my own SAX-style parser as a fun, hobby project for C++.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts