ZG2100 Network interface source
Diff: if/lwip/lwipNetTcpSocket.h
- Revision:
- 1:3a7c15057192
- Parent:
- 0:b802fc31f1db
diff -r b802fc31f1db -r 3a7c15057192 if/lwip/lwipNetTcpSocket.h --- a/if/lwip/lwipNetTcpSocket.h Fri Jul 09 15:37:23 2010 +0000 +++ b/if/lwip/lwipNetTcpSocket.h Fri Aug 06 10:23:41 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 {