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:
162:fe50a1dcd043
Parent:
161:89609cf070b4
Child:
164:84b20bcd0941
--- a/tcp/tcb.c	Wed Mar 11 08:29:28 2020 +0000
+++ b/tcp/tcb.c	Wed Mar 11 15:59:49 2020 +0000
@@ -54,10 +54,14 @@
         struct tcb* pTcb = tcbs + i;
         if (pTcb->state)
         {
+            HttpAddByteAsHex (pTcb->state);                       HttpAddChar('\t');
             HttpAddInt32AsHex(MsTimerCount - pTcb->timeLastRcvd); HttpAddChar('\t');
             HttpAddInt16AsHex(pTcb->ipType);                      HttpAddChar('\t');
             HttpAddInt32AsHex(pTcb->remArIndex);                  HttpAddChar('\t');
-            HttpAddInt16AsHex(pTcb->locPort);                     HttpAddChar('\n');
+            HttpAddInt16AsHex(pTcb->locPort);                     HttpAddChar('\t');
+            HttpAddInt16AsHex(pTcb->remPort);                     HttpAddChar('\t');
+            HttpAddInt32AsHex(pTcb->bytesRcvdFromRem);            HttpAddChar('\t');
+            HttpAddInt32AsHex(pTcb->bytesSentToRem);              HttpAddChar('\t');
         }
     }
 }