Serves a webpage and saves the user entered data in a .txt file all on the MBED

Dependents:   HTTPServerCustom

Fork of EthernetNetIf by Donatien Garnier

Revision:
5:bc7df6da7589
Parent:
0:422060928e37
--- a/LPC1768/lwip/arch/cc.h	Fri Jul 09 14:34:26 2010 +0000
+++ b/LPC1768/lwip/arch/cc.h	Thu Aug 05 15:09:22 2010 +0000
@@ -29,9 +29,8 @@
 #define FALSE 0
 #endif
 
-#ifndef DBG
-//#error
-#endif
+#include <stdlib.h>
+#define LWIP_RAND rand
 
 #define LWIP_PLATFORM_DIAG(x) DBG x
 #define LWIP_PLATFORM_ASSERT(x) DBG(x)
@@ -57,5 +56,7 @@
 #define PACK_STRUCT_BEGIN __packed
 #define PACK_STRUCT_END
 
+#define LWIP_CHKSUM_ALGORITHM 3
+
 
 #endif /* __LWIP_ARCH_CC_H__ */