12 years ago.

HTTP server development

Hello out there,

has someone already started developing http-server component? I'm using HTTP-server in my project and I'd like to have these huge speed-improvements, too. But my programming skills don't allow to develop this myself :-(

Michael

Question relating to:

I have put together a simple server that can serve files from the SD card and has some simple CGI support. It is very basic, but a start: http://mbed.org/users/gsteiert/code/HTTPDcgi/

posted by Greg Steiert 06 Apr 2013

4 Answers

11 years, 5 months ago.

Hello,

I just added an example of server using the new networking stack. Basically, it receives HTTP requests that contains an RPC command in the url, it executes the RPC command and sends back some HTML code. For more information, click here.

Francois

Accepted Answer
11 years, 5 months ago.

I am developing the HTTP server. This is not the standard mbed httpserver. However It has simple file server and RPC service.

Import programMbedFileServer

The program publishes files at local directory and SD filesystem. It is a full-fledged webServer somewhat.

11 years, 5 months ago.

Import libraryPicoTCP

Free (GPLv2) TCP/IP stack developed by TASS Belgium

has a native HTTP library that can run with legacy APIs in single thread mode. (Alternatively, you can have any HTTP application written for the default stack to run on top of it if you want)

11 years, 11 months ago.

There have been a few projects to develop a HTTP Server that runs on mbed. The following seems to be the common library

Import libraryHTTPServer

This library is deprecated.

Unfortunately I don't think there is an example for the new networking stack.

Hello Stephen, thanks for your answer! I'm using the old stack already, but I'd like to switch over to the new one, because of the improvements in speed (and perhaps stability).

posted by Michael Malms 18 Jan 2013