aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-05 11:39:28 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-05 11:39:28 +0000
commit4421782b7fb49e160b1c18f2295e6cd1f0b00c04 (patch)
treed6b5007b2644ee9bf5c8bf588375158f0bab5f07 /Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
parenta9d5e129b76449c73a853af450d7d353512cd3a0 (diff)
downloadlufa-4421782b7fb49e160b1c18f2295e6cd1f0b00c04.tar.gz
lufa-4421782b7fb49e160b1c18f2295e6cd1f0b00c04.tar.bz2
lufa-4421782b7fb49e160b1c18f2295e6cd1f0b00c04.zip
Make Control Endpoint stream transfers more reliable by adding in early aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes.
Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
index eac682547..460e3f819 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
@@ -49,7 +49,7 @@
#define MAX_OPEN_TCP_PORTS 1
/** Maximum number of TCP connections which can be sustained at the one time */
- #define MAX_TCP_CONNECTIONS 1
+ #define MAX_TCP_CONNECTIONS 3
/** TCP window size, giving the maximum number of bytes which can be buffered at the one time */
#define TCP_WINDOW_SIZE 512