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:
61:aad055f1b0d1
Parent:
54:84ef2b29cf7e
Child:
79:f50e02fb5c94
--- a/tcp/tcpbuf.h	Sat Dec 16 14:39:50 2017 +0000
+++ b/tcp/tcpbuf.h	Thu Jan 11 17:38:21 2018 +0000
@@ -1,4 +1,4 @@
-#include "mbed.h"
+#include <stdarg.h>
 
 extern void TcpBufAddChar  (char c);
 extern void TcpBufFillChar (char c, int length);
@@ -9,4 +9,4 @@
 extern void TcpBufAddStream(void (*startFunction)(void), int (*enumerateFunction)(void));
 
 extern void TcpBufStart    (int position, int mss, char *pData);
-extern int  TcpBufLength   ();
+extern int  TcpBufLength   (void);