EthernetNetIf Compatibility.
Dependents: XBeeWiFi_SPI_example
Fork of NetServicesSource by
Diff: lwip/lwipopts.h
- Revision:
- 7:534fa46ad8c5
- Parent:
- 5:dd63a1e02b1b
- Child:
- 9:c79fa4034f5b
--- a/lwip/lwipopts.h Wed Jul 28 10:18:21 2010 +0000 +++ b/lwip/lwipopts.h Wed Jul 28 11:55:27 2010 +0000 @@ -277,10 +277,10 @@ /* TCP Maximum segment size. */ //#define TCP_MSS 1024 -#define TCP_MSS 1024//0x276//536//0x276 +#define TCP_MSS 536//0x276//536//0x276 /* TCP sender buffer space (bytes). */ -#define TCP_SND_BUF 2048 +#define TCP_SND_BUF (3 * TCP_MSS) /* TCP sender buffer space (pbufs). This must be at least = 2 * TCP_SND_BUF/TCP_MSS for things to work. */ @@ -292,7 +292,7 @@ #define TCP_SNDLOWAT (TCP_SND_BUF/2) /* TCP receive window. */ -#define TCP_WND 1024 //8096 +#define TCP_WND (3 * TCP_MSS) //8096 /* Maximum number of retransmissions of data segments. */ //#define TCP_MAXRTX 12