C++ Network Library



The cpp-netlib is a library that provides application layer protocol support using modern C++ techniques. It is light-weight, fast, cross-platform and is intended to be as easy to configure as possible.

It is developed by people linked to the Boost community and will at some point in the future be submitted for review into Boost. A presentation about cpp-netlib was given at BoostCon 2010, for which the slides and the paper can be found on-line.

Sneak Peak

The cpp-netlib allows you to write semantically consistent code for making different kinds of higher level network applications.

The library allows for writing simple code for simple C++ HTTP client applications like:

using namespace boost::network;
using namespace boost::network::http;

client::request request_("http://www.boost.org/");
request_ << header("Connection", "close");
client client_;
client::response response_ = client_.get(request);
std::string body = body(response_);

The cpp-netlib is being developed for eventual submission to Boost.


You can download the latest releases of the library at:


You can also get the latest developments from the Git repository at:


You can find more information about the progress of the development by checking the GitHub project page at:



You can ask questions, join the discussion, and report issues to the developers mailing list by joining via:


You may also file issues on the Github issue tracker at: