The cpp-netlib tag has no wiki summary.
0
votes
0answers
13 views
find package Cpp-netlib
I am trying to link against cppnetlib-0.9.4 ,but I don't know what argument to pass to find_package in CMake for using the libraries?
0
votes
0answers
24 views
using find_package to include network library from cpp-netlib-0.9.4
I am using cmake to generate my make file.
However, in one of my files, I need to use boost::network::uri::valid(uri_). So I have included the header file (#include boost/network/uri.hpp) and I am ...
0
votes
0answers
15 views
Linking error with boost netlib in cygwin
I see other people have asked questions about linking, but I don't understand how to apply the answer. So, my situation is below. What should I do to correct the linking error.
Source:
#include ...
0
votes
0answers
29 views
Error building boost on Mountain lion using gcc-mp-4.7 installed from macports
I've run into a very very hairy issue. My end goal is to build the cpp-netlib. cpp-netlib uses C++-11, it was throwing linker errors with original boost build in my machine. The reason I'd built boost ...
0
votes
0answers
46 views
can we upload a file from put or post in netlib?
I want some server for my post or put request in cpp.I have choose netlib.. so i want to know that can we upload some xml or json file from put or post request in netlib.
Can anyone answer this ...
3
votes
1answer
242 views
How to link against cpp-netlib
I would like to use the Library cpp-netlib for a C++ project. Therefore I installed the boost library with the help of homebrew (OS is Mac OS X 10.8). Then I downloaded cpp-netlib from the projects ...
0
votes
1answer
76 views
Weird multithreading issue
I have a constructor that creates two threads of a server (I am using the cpp-netlib library). The weird problem that I am getting is that even though I don't call servlet1.join() and servlet2.join() ...
0
votes
1answer
94 views
cpp netlib headers
I am having some trouble understanding the cpp netlib documentation.
member name type description
headers vector<header> Vector of headers.
A header is a struct of type ...
2
votes
1answer
79 views
How to disable Boost Concept Check
For compiling the C++ Net Lib project under Windows with Visual Studio 2008, I need to disable the Concept Check (see this thread : ...
0
votes
0answers
104 views
cpp-netlib http response throws thread exception
I am using visual studio and cpp-netlib for my project and I have a function like:
namespace http = boost::network::http;
http::client::response make_get_request(const string& uri) {
...
-1
votes
1answer
262 views
Unable to send post request via cpp-netlib
I am using cpp-netlib-0.9.4 with Visual Studio 2010. I have a function make_header which is like this:
http::client::request* Interface::make_request_header(const string& uri) {
string url = ...
0
votes
0answers
365 views
Async client in C++ using cpp-netlib
Any hints how to implement a simple asynchronous client using cpp-netlib? I assume, it won't be as long as boost asio async client. Code sample will be helpful. My pathetic attempt is below.
#include ...
1
vote
1answer
294 views
Example on how to do asynchronous http get request using cpp-netlib
I'm trying to do asynchronous http requests using cpp-netlib. I couldn't find any examples of this in the documentation, as a result can't even get it to compile. My current attempt is below (with ...
2
votes
0answers
521 views
Alternatives to cpp-netlib to do asynchronous http requests in C++ [closed]
I spent half of the day today unsuccessfully trying to install cpp-netlib on Mac OS X (the goal is to implement asynchronous http requests in C++). When I do 'make' to build and run the tests, I have ...
4
votes
1answer
651 views
Using cpp-netlib in a C++ project under Windows
I want to use the cpp-netlib library in a C++ project of mine running on Windows.
I've strictly followed the instructions under http://cpp-netlib.github.com/getting_started.html up to the "Getting ...