A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
72:19457bba58d0
Parent:
71:736a5747ade1
Child:
75:603b10404183
--- a/tcp/tcp.txt	Sat Oct 20 18:56:13 2018 +0000
+++ b/tcp/tcp.txt	Mon Oct 22 10:24:58 2018 +0000
@@ -42,8 +42,16 @@
 
 State
 =====
+State               Received        Do              New state
+TCB_EMPTY           SYN             record ISN      TCB_SYN_RECEIVED
+TCB_SYN_RECEIVED    ACK                             TCB_ESTABLISHED
+TCB_ESTABLISHED     
+TCB_ACK_WAIT
+TCB_FIN_WAIT
+
+State
 TCB_EMPTY           do nothing
 TCB_SYN_RECEIVED    if (TCB.sent == 0) or (TCB.sent == 1 and TCB.ackd == 0 and RTO) then send SYN ACK and ISN.
 TCB_ESTABLISHED     if (!TCB.finished) then send from TCB.sent. if RTO and TCB.ackd < TCB.sent then resend TCB.ackd
+TCB_ACK_WAIT
 TCB_FIN_WAIT
-TCB_ACK_WAIT