Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of webserverBlinky by
Revision 97:bdf885e146dc, committed 2017-07-29
- Comitter:
- nixnax
- Date:
- Sat Jul 29 00:40:00 2017 +0000
- Parent:
- 96:e14f42ecff66
- Child:
- 98:3babad0d1bd4
- Commit message:
- Window Size 700
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Jul 29 00:31:13 2017 +0000 +++ b/main.cpp Sat Jul 29 00:40:00 2017 +0000 @@ -669,8 +669,8 @@ int flagsOut = TCP_FLAG_ACK; // the default case is an ACK packet int flagsTCP = ((flagbitstcp[0]&1)<<8)|flagbitstcp[1]; // the tcp flags we received - windowsizetcp[0]=3; // tco window size = 3*256=768 - windowsizetcp[1]=0; // tcp windows size low byte + windowsizetcp[0]=2; // tco window size = 700 + windowsizetcp[1]=0xbc; // tcp windows size = 700 int doFin = 0; // flag to see if we have to send an extra FIN message to shut down the link