Questions tagged [poco-libraries]

The Poco C++ Libraries are modern open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server and embedded systems.

The Poco C++ Libraries are modern open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server and embedded systems.

736 questions
104
votes
10 answers

ACE vs Boost vs POCO

I have been working with the Boost C++ Libraries for quite some time. I absolutely love the Boost Asio C++ library for network programming. However I was introduced to two other libraries: POCO and Adaptive Communication Environment (ACE)…
rahul
  • 2,269
  • 3
  • 28
  • 31
24
votes
2 answers

Correct usage of Poco C++ JSON for parsing data

Can anyone instruct me on how the Poco C++ JSON works? Previously I've used JsonReader and JsonToken. The Poco C++ library doesn't seem to have corresponding objects. How do I for example use the json parser to create a object name consisting the…
David Karlsson
  • 9,396
  • 9
  • 58
  • 103
18
votes
2 answers

How to use OpenSSL in POCO C++ library correctly

According to the Specification in POCO assistant: Initialize the NetSSL library, as well as the underlying OpenSSL libraries, by calling Poco::Crypto::OpenSSLInitializer::initialize(). Should be called before using any class from the NetSSL…
mac.ma
  • 703
  • 2
  • 8
  • 22
17
votes
3 answers

ACE vs Boost vs Poco vs wxWidgets

I have a considerable amount of experience with ACE, Boost and wxWidgets. I have recently found the POCO libraries. Does anyone have any experience with them and how they compare to ACE, Boost and wxWidgets with regard to performance and…
Jere.Jones
  • 9,915
  • 5
  • 35
  • 38
15
votes
1 answer

building static version of Poco C++ libraries

can any body guide us on how to build static version of the Poco C++ libraries ?
Ravikumar Tulugu
  • 1,702
  • 2
  • 18
  • 40
14
votes
5 answers

Thread per connection vs Reactor pattern (with a thread pool)?

I want to write a simple multiplayer game as part of my C++ learning project. So I thought, since I am at it, I would like to do it properly, as opposed to just getting-it-done. If I understood correctly: Apache uses a Thread-per-connection…
omninonsense
  • 6,644
  • 9
  • 45
  • 66
13
votes
2 answers

How to link Poco library(libraries) to our program in unix environment

I'm having trouble with Poco libraries. I need a simple solution to make the compilation easier. Is there any pkg-config file for Poco library to use it into our make files? Or any alternative solution? Currently I use Ubuntu GNU/Linux. I'm trying…
sepisoad
  • 2,201
  • 5
  • 26
  • 37
13
votes
1 answer

POCO C++ - NET SSL - how to POST HTTPS request

How to correctly do a POST to HTTPS server and embed the login data correctly. Below code does not return any cookies (in Wininet it does). I wonder how POCO HTTP library handles HTTP redirections? MyApp() { try { const Poco::URI…
cubesoft
  • 3,448
  • 7
  • 49
  • 91
12
votes
2 answers

Poco::Net Server & Client TCP Connection Event Handler

I am starting a new project and at the same time have just discovered Poco Library, which I find absolutely amazing. However I am a bit lost, as examples are not plenty. I have a ServerApplication->TCPServer->ServerSocket +…
Ælex
  • 14,432
  • 20
  • 88
  • 129
11
votes
2 answers

Poco + OpenSSL + CA PEM : "Unacceptable certificate" error for 1 out of 2 identical sites

I am trying to do a SSL handshake with www1.filemail.com. I am using cURL's cacert.pem, but I am getting this error: Unacceptable certificate from 188.138.81.30: application verification failure Making the handshake against any other HTTPS website…
11
votes
1 answer

C++ Http Request with POCO

I'm wondering how I can do a request to a URL (e.g. download a picture and save it) with POCO in C++? I got this little code so far #include #include #include "multiplication.h" #include #include using…
orbatschow
  • 1,497
  • 2
  • 13
  • 26
11
votes
1 answer

How to add Poco library in Visual Studio 2010?

It's been a while since I've programmed in C++ and right now I'm struggling with this Poco library I'm trying to add to do some HTTP requests. First of all, where do I add poco files, somewhere in my project perhaps? Secondly, I've read something…
Simon
  • 364
  • 1
  • 5
  • 18
10
votes
1 answer

Using the Poco C++ Library, how can I pass data to a thread?

So my question actually has several parts: Using the Poco Threading Library: What are all of the possible methods for passing data to threads (at both thread invocation and for an already running thread). Which methods are preferred by you and why?…
Homer6
  • 15,034
  • 11
  • 61
  • 81
9
votes
2 answers

Poco C++ building nested JSON objects

I have a nested JSON object. I'm trying to build it in a function and add the inner object to the original, but I can't extract the result. void build_object (Poco::JSON::Object * const result) { /* Construct some int/bool/string fields here…
stebl
  • 175
  • 1
  • 1
  • 8
9
votes
1 answer

HTTPS request in c++ using Poco

I am trying to write a client app in C++ using Poco Libraries (version poco-1.4.6p1-all) and compiling in Visual Studio 2010, that sends a HTTPS request to a server that has a self-written certificate. I have an error because the certificate is not…
CJJ
  • 199
  • 1
  • 2
  • 8
1
2 3
49 50