The lib with which to make LPC1768 a simple HTTP server. This have not yet implemented. fopen() DOESN'T WORK after EthernetInterface::connect() is called as using mbed-os 5.4~. See also https://os.mbed.com/questions/80658/HardFault-occurs-when-fopen-is-called-af/ or https://github.com/ARMmbed/mbed-os/issues/6578 and https://github.com/ARMmbed/mbed-os/issues/6624
Fork of HTTP_SERVER by
Diff: HTTP_SERVER.h
- Revision:
- 15:9b2cfbaf1c12
- Parent:
- 14:a16cdcd098d7
- Child:
- 16:c3920b5b8572
diff -r a16cdcd098d7 -r 9b2cfbaf1c12 HTTP_SERVER.h --- a/HTTP_SERVER.h Fri Mar 16 22:45:47 2018 +0000 +++ b/HTTP_SERVER.h Fri Mar 16 23:17:28 2018 +0000 @@ -48,8 +48,12 @@ // Param //bool keep_alive; bool listening_flag; + bool socket_connection; uint16_t port; //Port number int backlog; //backlog Number of pending connections that can be queued simultaneously + // Function + bool analyzeRequest(char*,int,char*,char*,char*); + bool sendResponse(char*,char*,char*); };