Portable C++ class libraries for internet-era network programs on desktop, server, mobile, IoT, and embedded targets.
Overview
The POCO C++ Libraries are a set of modular packages for building network and internet-facing applications in standard C++. They mirror the idea of a broad class library, emphasizing practical problems in networked software rather than only low-level primitives.
Components cover HTTP client and server stacks, sockets, JSON and XML processing, logging, multithreading, cryptography via OpenSSL (or Windows TLS), SQL access to common databases, and clients for MongoDB and Redis. Developers pick only the modules they need to keep binaries smaller on constrained devices.
CMake is the primary build system, with optional GNU Make builds and packages on vcpkg, Conan, and OS package managers. The libraries target Linux, macOS, Windows, and embedded Linux variants, and documentation shows patterns from simple HTTP servers to larger service shapes.
POCO is positioned as complementary to Boost: overlapping areas exist, but combined use in C++ projects is common. Example code demonstrates cross-platform server applications using Foundation, Net, and Util.
Key features
- HTTP and HTTPS client and server
- JSON and XML APIs
- SQL and NoSQL database access
- Logging framework
- Multithreading abstractions
- OpenSSL and platform TLS support
- Modular library components
- Cross-platform platform layer
Use cases
- C++ microservices with REST APIs
- IoT devices talking to cloud backends
- Embedded Linux networking software
- Mobile app C++ backends
- Desktop apps using HTTP and databases