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:
156:be12b8fd5b21
Parent:
142:a8c0890a58d1
--- a/tcp/tcphdr.c	Tue Aug 20 14:49:00 2019 +0000
+++ b/tcp/tcphdr.c	Wed Aug 28 07:11:58 2019 +0000
@@ -128,7 +128,7 @@
 void TcpHdrWriteToPacket(char* pPacket)
 {
     headerSize = HEADER_LENGTH;
-    if (TcpHdrMssGet())
+    if (mss)
     {
         char* pOptions = pPacket + headerSize;
         pOptions[0]  = 2;