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
Diff: tcp/tcb.h
- Revision:
- 79:f50e02fb5c94
- Parent:
- 78:9d8fc88df405
- Child:
- 80:4ef1500fca1d
--- a/tcp/tcb.h Mon Nov 05 19:27:19 2018 +0000 +++ b/tcp/tcb.h Sun Nov 11 15:44:23 2018 +0000 @@ -8,12 +8,12 @@ #define TCB_SYN_RECEIVED 1 #define TCB_ESTABLISHED 2 #define TCB_CLOSE_FIN_WAIT 3 -#define TCB_CLOSE_ACK_WAIT 4 struct tcb { int state; - uint32_t lastSendTime; + uint32_t timeSendsBeingAcked; //Used for RTO + uint32_t timeLastRcvd; //Used for detect idle links int remArIndex; int ipType; uint16_t remPort;