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
4
votes
2 answers

Clion, cMake and POCO

I'm a new guy to c++ and cmake here. I decided to test out cLion and cMake. I'm trying to write a simple email client for the command line. Other sources told me that the best way to implement a POP3 and SMTP functions would be to use POCO.…
gemini88mill
  • 170
  • 2
  • 11
4
votes
1 answer

Unable to use splitterChannel with advanced xml configuration with poco

I would like to configure an advance logger using poco and its configuration file. I create a config.xml file like that :
lgm42
  • 591
  • 1
  • 6
  • 29
4
votes
2 answers

Poco::Base64Decoder stream not returning complete string

not sure if i am just using it wrong because this is not really my field of expertise but i was under the impression that this should give me a complete decoded openframeworks buffer (or a simple string, i tried various ways all resulting in the…
DasAntonym
  • 452
  • 3
  • 19
4
votes
1 answer

How to correctly close a connection with Poco::HTTPSClientSession?

I run into a problem with Poco::HTTPSClientSession and don't know how to handle it. Description (or what happens) A HTTPS connection to a server is established with the use of the Poco::HTTPSClientSession class. Connection establishment,…
Andreas Florath
  • 4,418
  • 22
  • 32
4
votes
2 answers

Poco library 1.4.6 Xcode 5 build for iPhone Simulator

I was using Poco library 1.4.5-all, and recently I upgraded my Xcode to 5.0.1. Somehow I had problem linking Poco libraries for iPhone device build so I managed to link properly for iPhone device by using the latest Poco library…
Locke
  • 315
  • 1
  • 3
  • 14
4
votes
1 answer

Load image from URL in C++

I am using C++ and OpenCV and I'd like to load an image from password protected URL. I succeeded in loading image from URL using idea of this link which uses POCO library, but I do not know what should I do when I have to use username and password…
Smn
  • 71
  • 2
  • 10
4
votes
3 answers

Connect Websocket with Poco libraries

I am trying to connect to the Echo Test Websocket using the Poco C++ libraries. In order to do so here is my code which should set up the Websocket: HTTPClientSession cs("echo.websocket.org"); HTTPRequest request(HTTPRequest::HTTP_GET,…
Moonlit
  • 5,171
  • 14
  • 57
  • 95
4
votes
1 answer

Poco NetSSL Exception

I have finally built Poco NetSSL, but already the first example doesn't work. The following snippet throws an exception and Debugger.h gets opened in my IDE (Visual Studio 2012). #include int main() { …
4
votes
1 answer

Is boost::asio equivalent to Poco::Net?

I am part of a project that is using boost as a c++ library. Now we want to use SMTP/POP3/SSL/HTTP/HTTPS. I detected several fitting classes and functions in…
heinob
  • 19,127
  • 5
  • 41
  • 61
4
votes
1 answer

Poco C++ Net on Android does not find Address

I Can not get my POCO C++ library to send a request on Android, it only throws an error since address can not be found, below is my code. Why does'nt it work? I've been using this as a reference and it's desired to function on both android and…
David Karlsson
  • 9,396
  • 9
  • 58
  • 103
4
votes
2 answers

Embed POCO static library into another one

I'm developing an SDK (as dynamic and static lib) using Poco, and I would like to embed the Poco static libs into my one to avoid the end user to setup and link the Poco enviroment. The C/C++ settings for the MySDKd.LIB are: /I"..\..\..\include"…
Barzo
  • 1,039
  • 1
  • 11
  • 37
4
votes
2 answers

ABORTING: HEAP MEMORY CORRUPTION on NDK env. (POCO Library, Sqlite3, Cocos2dx)

I'm facing 'ABORTING: HEAP MEMORY CORRUPTION' problem on Android NDK environment. If I backtrace with ndk-gdb, it is mainly occurring on malloc/dlfree functions in libc.so and after long hours of tracing the problem, it mostly happens inside…
Locke
  • 315
  • 1
  • 3
  • 14
4
votes
1 answer

Using Poco::Logger for entire project

AutoPtr splitterChannel(new SplitterChannel()); AutoPtr consoleChannel(new ConsoleChannel()); AutoPtr fileChannel(new FileChannel("Arcanite.log")); AutoPtr
Dan Vonk
  • 79
  • 1
  • 3
4
votes
3 answers

How do I make an HTTP Post with HTTP Basic Authentication, using POCO?

I'm trying to make an HTTP Post with HTTP Basic Authentication (cleartext username and password), using POCO. I found an example of a Get and have tried to modify it, but being a rookie I think I've mangled it beyond usefulness. Anyone know how to…
Alyoshak
  • 2,696
  • 10
  • 43
  • 70
4
votes
1 answer

How to read "dates" from database using Poco C++ library

I'm a newbie with the POCO libraries. I need to read a DateTime field from an SQL Server (connected using ODBC Native Client). I have no problems reading strings or numbers, however Dates or Timestamps are giving me a difficult time... I'm not…