Serves a webpage and saves the user entered data in a .txt file all on the MBED
Fork of EthernetNetIf by
Diff: LPC1768/lwip/lwipopts.h
- Revision:
- 3:0401477beaa3
- Parent:
- 1:ba68cceb2917
- Child:
- 4:9cec8b1dcf09
--- a/LPC1768/lwip/lwipopts.h Fri Jun 18 09:34:41 2010 +0000 +++ b/LPC1768/lwip/lwipopts.h Fri Jun 18 10:28:59 2010 +0000 @@ -113,7 +113,7 @@ #if TARGET_LPC1768 -#define MEM_SIZE 5000 //2000 +#define MEM_SIZE 3000 //2000 /// @@ -182,14 +182,14 @@ /* TCP Maximum segment size. */ //#define TCP_MSS 1024 -#define TCP_MSS 1024//0x276//536//0x276 +#define TCP_MSS 1024//536//0x276 /* TCP sender buffer space (bytes). */ -#define TCP_SND_BUF 2048//2048 +#define TCP_SND_BUF 2048 /* TCP sender buffer space (pbufs). This must be at least = 2 * TCP_SND_BUF/TCP_MSS for things to work. */ -#define TCP_SND_QUEUELEN (8 * TCP_SND_BUF/TCP_MSS)//(4 * TCP_SND_BUF/TCP_MSS) +#define TCP_SND_QUEUELEN (2 * TCP_SND_BUF/TCP_MSS) /* TCP writable space (bytes). This must be less than or equal to TCP_SND_BUF. It is the amount of space which must be