Questions tagged [cpp-netlib]

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

Cpp-netlib (http://cpp-netlib.org/) is a networking library.

It calls itself "a collection of Open-Source libraries for high level network programming"; its abstraction level is at the bottom of the OSI application layer. The library provides a general message template, http request and response messages built using the general message template, and HTTP client and (in proces) server code.

Cpp-netlib aims to become part of Boost. It relies havily on meta programming (i.e. templates). Cpp-netlib is built in top of Boost::ASIO (the asynchronous I/O library within Boost).

86 questions
0
votes
1 answer

cpp-netlib issue, terminate called after throwing an instance of 'boost::exception_detail::clone_impl

I have the below code executing in a loop which has exception handling. using namespace boost::network; http::client client; http::client::request request("https://testserver.com/"); request <<…
user246181
  • 17
  • 1
  • 8
0
votes
0 answers

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 unicode symbols - the actual Digest authentication RFC…
Rudolfs Bundulis
  • 11,636
  • 6
  • 33
  • 71
0
votes
1 answer

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 install netlib according to these instructions I…
soroosh.strife
  • 1,181
  • 4
  • 19
  • 45
0
votes
0 answers

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?
Sarfraj
  • 312
  • 1
  • 5
  • 16
0
votes
1 answer

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() in the constructor, for some reason the…
marcoo
  • 821
  • 1
  • 9
  • 25
0
votes
2 answers

cpp netlib headers

I am having some trouble understanding the cpp netlib documentation. member name type description headers vector
Vector of headers. A header is a struct of type response_header. An instance…
marcoo
  • 821
  • 1
  • 9
  • 25
0
votes
1 answer

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 = host_ + uri; string json_type =…
Rajat
  • 1,766
  • 2
  • 21
  • 42
-1
votes
1 answer

How to open file 'libboost_thread-vc110-mt-gd-1_58.lib' - cpp-netlib?

So I'm almost a complete newbie to c++. I've been trying desperately for the better part of the day to use cpp-netlib, but I can't really proceed, and would appreciate some help. I have downloaded the development version as per the instructions (I…
Brent
  • 1
  • 1
-1
votes
1 answer

C++ cpp-net lib not found

Here is a piece of code which is an example from cpp-netlib #include #include #include namespace http = boost::network::http; struct hello_world; typedef http::server
xCoder
  • 53
  • 5
-1
votes
1 answer

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

Here is the top part of my code, #include #include #include #include #include #include #include #include #include #include…
user246181
  • 17
  • 1
  • 8
-5
votes
1 answer

errors when i'm compiling my project

when i'm compiling my project i will get a lot of errors: 1>------ Build started: Project: cpp-uri, Configuration: Debug x64 ------ 1> uri_builder.cpp 1>c:\gta-five\multiplayer\vendor\cpp-uri\src\boost/mpl/void.hpp(45): error C2065: 'void_':…
0x452
  • 1
  • 3
1 2 3 4 5
6