7

I'm writing an application in c++ and I was thinking to use an embedded simple web server that will be my gui, so i could set up my application port on localhost.

What such web server would you recommend to use in c++/c?

Thanks

Rich Seller
  • 83,208
  • 23
  • 172
  • 177
user63898
  • 29,839
  • 85
  • 272
  • 514

3 Answers3

6

If you are using boost then rolling your own in boost:asio is simple.

I assume by embedded you mean a built in webserver not that you are running on some tiny embedded hardware.

If you want something simpler look at mongoose - also see https://stackoverflow.com/questions/738273/open-source-c-c-embedded-web-server

Community
  • 1
  • 1
Martin Beckett
  • 94,801
  • 28
  • 188
  • 263
1

I use C++ Wt for these kind of interfaces

user52875
  • 3,020
  • 22
  • 21
-3

You are aware that a lot of machines already run something on port 80/443, are you? [edit] Controlling an embedded system sounds like a good fit for snmp, not http.

Stephan Eggermont
  • 15,847
  • 1
  • 38
  • 65
  • 1
    Generally simple page to control application running in specialized embedded machine isn't bad idea, right? Even if you have running some Server on port 80, it's just be faster to post command to embedded server on other port. And communication thought other external server is some times 2x work to do. – Arpegius Jul 30 '09 at 12:11
  • I think he was talking about an embedded web server, not an embedded system. – Kevin ORourke Jul 30 '09 at 22:40
  • embedded web server on application software not hardware – user63898 Jul 31 '09 at 05:52