Serves a webpage and saves the user entered data in a .txt file all on the MBED
Fork of EthernetNetIf by
Diff: LPC1768/if/lwip/lwipNetTcpSocket.h
- Revision:
- 5:bc7df6da7589
- Parent:
- 0:422060928e37
--- a/LPC1768/if/lwip/lwipNetTcpSocket.h Fri Jul 09 14:34:26 2010 +0000 +++ b/LPC1768/if/lwip/lwipNetTcpSocket.h Thu Aug 05 15:09:22 2010 +0000 @@ -25,16 +25,18 @@ #define LWIPNETTCPSOCKET_H #define NET_LWIP_STACK 1 -#include "lwip/ip_addr.h" -#include "if/net/net.h" +#include "if/net/nettcpsocket.h" #include "LwipNetIf.h" +#include "stdint.h" + //Implements NetTcpSockets over lwIP raw API struct tcp_pcb; //Represents a Tcp Connection, "Protocol Control Block", see rawapi.txt & tcp.h struct pbuf; //Lwip Buffer Container typedef signed char err_t; +typedef uint16_t u16_t; class LwipNetTcpSocket: public NetTcpSocket {