Our great sponsors
-
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.
-
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.
-
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.
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.
Docs, GitHub
I really like nlohmann/json.
https://github.com/rsocket/rsocket-cpp/ supports websockets
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++.