pocoproject.org
Open in
urlscan Pro
54.93.62.90
Public Scan
Submitted URL: http://pocoproject.org/
Effective URL: https://pocoproject.org/
Submission: On August 30 via api from SG — Scanned from DE
Effective URL: https://pocoproject.org/
Submission: On August 30 via api from SG — Scanned from DE
Form analysis
0 forms found in the DOMText Content
This website stores cookies on your computer. These cookies are used to collect information about how you interact with our website and allow us to remember you. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors both on this website and other media. To find out more about the cookies we use, see our Cookie Policy and Privacy Policy. If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference not to be tracked. Accept Decline SIMPLIFY C++ DEVELOPMENT 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. Latest Release: 1.12.2 [Changelog] The POCO C++ Libraries are being used by C++ developers worldwide to build challenging and mission-critical applications. Whether building automation systems, industrial automation, IoT platforms, air traffic management systems, enterprise IT application and infrastructure management, security and network analytics, automotive infotainment and telematics, financial or healthcare, C++ developers have been trusting the POCO C++ Libraries for 15+ years and deployed it in millions of devices. POCO IS USED FOR EMBEDDED DEVICES Create software for connected embedded devices running Linux, Windows Embedded or QNX. MOBILE APPS Create cross-platform backends in C++ for iOS and Android applications and combine it with a native or HTML5-based user interface. INTERNET OF THINGS Create software for IoT devices that talk to cloud backends over HTTP REST APIs. See macchina.io for an IoT platform built with POCO. SERVER APPLICATIONS Build application servers in C++ that talk to SQL databases, MongoDB or Redis. CLOUD & MICROSERVICES Build high-performance microservices with REST APIs for data analytics or machine learning in C++. DESKTOP APPS Build desktop applications that talk to REST APIs or SQL databases. MAIN FEATURES CROSS-PLATFORM Powerful platform abstractions let you build cross platform code that runs on all common desktop, server, mobile and embedded platforms. PERFORMANCE Written in efficient modern C++, POCO does not waste precious CPU cycles and memory. EASY TO USE Comprehensive and consistent APIs combined with an easily accessible code base make C++ developers more productive. MODULAR & SCALABLE Don't pay for what you don't use. Use on embedded Linux devices with as little as of 8-16 MB of RAM, or on multi-core, multi-gigabyte servers. MULTITHREADING Advanced multithreading abstractions simplify the development of multithreaded programs. LOGGING Versatile, low overhead and extensible logging framework for all your logging needs. JSON & XML Multiple APIs (streaming and document-oriented) for parsing and creating JSON and XML. DATABASE ACCESS Access SQL databases like SQLite, MySQL/MariaDB, PostgreSQL and SQL Server (via ODBC). Or NoSQL databases like MongoDB and Redis. NETWORK & INTERNET From basic sockets to HTTP/HTTPS client and server, POCO covers all your network programming needs. ENCRYPTION & SECURITY Easy-to-use wrappers for OpenSSL make it easy to integrate encryption and SSL/TLS into your application. * See all features FROM OUR BLOG RELEASE 1.12.2 AVAILABLE This is another maintenance release that fixes a few issues introduced in 1.12.0 and 1.12.1. The complete list of closed GitHub issues is in the CHANGELOG. * Read More RELEASE 1.12.1 AVAILABLE This is a maintenance release that fixes a few issues introduced in 1.12.0. The complete list of closed GitHub issues is in the CHANGELOG. * Read More EXAMPLE CODE SIMPLE WEB SERVER The following code example implements a simple multithreaded web server serving a single HTML page. It uses the Foundation, Net and Util libraries and shows the following features: * Cross-Platform - the code will work on all supported platforms, including Linux, macOS and Windows. * Logging * HTTP framework in Net library. * Server application support in Util library including configuration file handling. #include "Poco/Net/HTTPServer.h" #include "Poco/Net/HTTPRequestHandler.h" #include "Poco/Net/HTTPRequestHandlerFactory.h" #include "Poco/Net/HTTPServerRequest.h" #include "Poco/Net/HTTPServerResponse.h" #include "Poco/Net/ServerSocket.h" #include "Poco/Util/ServerApplication.h" #include <iostream> using namespace Poco; using namespace Poco::Net; using namespace Poco::Util; class HelloRequestHandler: public HTTPRequestHandler { void handleRequest(HTTPServerRequest& request, HTTPServerResponse& response) { Application& app = Application::instance(); app.logger().information("Request from %s", request.clientAddress().toString()); response.setChunkedTransferEncoding(true); response.setContentType("text/html"); response.send() << "<html>" << "<head><title>Hello</title></head>" << "<body><h1>Hello from the POCO Web Server</h1></body>" << "</html>"; } }; class HelloRequestHandlerFactory: public HTTPRequestHandlerFactory { HTTPRequestHandler* createRequestHandler(const HTTPServerRequest&) { return new HelloRequestHandler; } }; class WebServerApp: public ServerApplication { void initialize(Application& self) { loadConfiguration(); ServerApplication::initialize(self); } int main(const std::vector<std::string>&) { UInt16 port = static_cast<UInt16>(config().getUInt("port", 8080)); HTTPServer srv(new HelloRequestHandlerFactory, port); srv.start(); logger().information("HTTP Server started on port %hu.", port); waitForTerminationRequest(); logger().information("Stopping HTTP Server..."); srv.stop(); return Application::EXIT_OK; } }; POCO_SERVER_MAIN(WebServerApp) * Get Started * Follow @pocoproject * GitHub * Twitter * Documentation * Contact Us Imprint | Privacy Policy © 2006-2022 Applied Informatics Software Engineering GmbH. * About * About * License * Community * Project Governance * Related Projects & Products * Notable Users * Features * Get POCO * POCOPRO * POCOPRO Remoting for C++ * POCOPRO Open Service Platform * * Licensing & Pricing * * Download Free Trial * Docs * Blog * About * License * Community * Project Governance * Related Projects & Products * Notable Users * Features * POCOPRO Remoting for C++ * POCOPRO Open Service Platform * * Licensing & Pricing * * Download Free Trial