C++ networking library; aims to become part of boost; built on top of Boost asio; has HTTP client and server; and general message template.

learn more… | top users | synonyms

-1
votes
0answers
14 views

undefined reference to `boost::network::uri::detail::parse

I'm trying to use the cpp-netlib in C++. i'm getting two errors when building undefined reference to `boost::network::uri::detail::parse(__gnu_cxx::__normal_iterator, std::allocator > >, ...
0
votes
1answer
29 views

C++ Compiler can't find cpp-netlib boost library, No such file or directory

Here is the top part of my code, #include <iostream> #include <istream> #include <fstream> #include <vector> #include <string> #include <algorithm> #include ...
1
vote
1answer
24 views

CMake - compile with /MT instead of /MD

I'm a newbie to cmake (2.8.12.1) and I'm using it on Windows to generate the project files to build cpp-netlib using Visual Studio 2012. By default it compiles with the /MDd compiler switch. I want ...
1
vote
0answers
78 views

send http request from tornado client to asynchronous cpp-netlib server

I have a http client that I wrote in python in tornado framework: http_client = httpclient.HTTPClient() request = httpclient.HTTPRequest("http://127.0.0.1:8000", method='PUT', body=str("data")) ...
0
votes
1answer
49 views

How to build cpp-netlib with MSVC (cmake)

I tried to do this in MSys git bash on my win 8.1 with MSVC 12 installed, and the latest cmake and git: $> git clone https://github.com/cpp-netlib/cpp-netlib.git $> cd cpp-netlib $> git ...
0
votes
0answers
10 views

Netbeans recompiling source always even if no changes made

I am using cpp-netlib to make some webserver using C++/BOOST/MinGW compiler. I am developing under Windows XP with Netbeans 7.4 Whenever I click Run or Debug Netbeans recompiling everything. Like I ...
2
votes
0answers
60 views

Https server with cpp-netlib

How can one use cpp-netlib to implement a HTTPS-server? cpp-netlib can be used as HTTP server (see service selector, handler and main in my tryout code). With Boost::asio seting up an SSL connection ...
0
votes
1answer
19 views

How close http connection with cpp-netlib?

When running the Cpp-netlib (version 0.11-rc1) [edit (addition)] code copied from [/edit] HttpClient example does not finish. I assume it's because the connection is left open. 1. Is my assumption ...
0
votes
0answers
62 views

Http Digest authentication and utf-8 symbols in request headers

I'm trying to implement HTTP Digest authentication in a server based on cpp-netlib and I'm not sure how to tackle the issue that the username attribute in the authorization header could contain ...
1
vote
1answer
26 views

cpp-neltib (and Boost) default string type in windows

I want to be able to get HTTP request header values that contain utf8 characters in a server built with cpp-netlib. I understand that there are two kind of wrapper classes for requests and responses ...
0
votes
0answers
120 views

Accessing request headers in cpp-netlib http server

I've begun developing an HTTP server using cpp-netlib (stable release 0.10.1) and from the available documentation I am not sure how to access HTTP request headers in a server handler. I am aware that ...
0
votes
1answer
100 views

libboost seems to be incomplete

I'm trying to install netlib on my ubuntu 12.04. Since it needs libboost to be installed I installed libboost using: sudo apt-get install libboost-all-dev but here is the problem when I'm trying to ...
2
votes
1answer
134 views

Why does Eclipse hang when indexing Boost and cpp-netlib headers?

I've got both the Boost and cpp-netlib libraries installed on my Win7 machine. In Eclipse, under my C++ project settings, I add the following include directories C:\boost_1_53_0 C:\cpp-netlib-0.10.1 ...
0
votes
0answers
52 views

How to force certificate validation in cpp-netlib when making HTTPS request?

We use cpp-netlib in our multi-platform code (iOS and Android) to perform HTTPS requests but we could not find a way to perform server's certificate validation. The documentation on the site is scarce ...
0
votes
0answers
127 views

How to use cpp-netlib to send SOAP message

I'm trying to use cpp-netlib to send SOAP request to a specific server. here is what i tried but this peace of code not giving any result. I think some mismatch with header setting. Please help if ...

15 30 50 per page