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.c
- Revision:
- 164:84b20bcd0941
- Parent:
- 162:fe50a1dcd043
- Child:
- 168:59d286f933a0
--- a/tcp/tcb.c Fri Mar 13 15:56:33 2020 +0000 +++ b/tcp/tcb.c Tue Mar 31 10:52:21 2020 +0000 @@ -6,7 +6,7 @@ #include "http.h" #include "mstimer.h" -#define TCB_COUNT 20 +#define TCB_COUNT 40 struct tcb tcbs[TCB_COUNT]; @@ -61,7 +61,7 @@ HttpAddInt16AsHex(pTcb->locPort); HttpAddChar('\t'); HttpAddInt16AsHex(pTcb->remPort); HttpAddChar('\t'); HttpAddInt32AsHex(pTcb->bytesRcvdFromRem); HttpAddChar('\t'); - HttpAddInt32AsHex(pTcb->bytesSentToRem); HttpAddChar('\t'); + HttpAddInt32AsHex(pTcb->bytesSentToRem); HttpAddChar('\n'); } } }