This is a non working version of my ethernet with sd card, i do not know why
Dependencies: SDFileSystem mbed
Fork of eth_v13 by
Diff: httpServer.h
- Revision:
- 3:79dc3337d9da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/httpServer.h Fri Mar 21 00:18:33 2014 +0000 @@ -0,0 +1,23 @@ +#ifndef HTTPSERVER_H_ +#define HTTPSERVER_H_ + +#include "TCPSocket.h" +#include "html.h" + +class httpServer +{ + TCPSocket tcpSocket; + int _port; + Timer timeout; + + int counter; + +public: + httpServer(int socket); + void start(int port); + void close(); + void poll(); + void httpApp(); +}; + +#endif \ No newline at end of file