Cross Platform C++ webserver Library

2.8k Views Asked by At

I am looking for a cross platform Library in C++ that can run a web server. Does any one know if tntnet can work on windows computers. or libmicrohttpd

5

There are 5 best solutions below

0
On BEST ANSWER

POCO has a HTTP server, among lots of other useful stuff. Runs on Windows, Linux, etc.

1
On

This might not answer your question directly, but if you have your heart set on one of those, you could always compile them in cygwin.

1
On

Currently tntnet does not support windows. It is possible to port tntnet to windows but nobody has done the work. Sorry.

0
On

The boost.asio library documentation includes several example HTTP servers

http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/examples.html

I fond these extremely useful in developing an embedded web server for my own applications.

0
On

I googled and found LibHTTP. I have not used it.

https://www.libhttp.org/

https://github.com/lammertb/libhttp