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

tcp/tcpbuf.h

Committer:
andrewboyson
Date:
2019-05-14
Revision:
145:206bf0d073c7
Parent:
144:6bd5c54efc7d
Child:
146:0fc66d610fd6

File content as of revision 145:206bf0d073c7:

#include <stdarg.h>
#include <stdint.h>
#include <stdbool.h>

extern void TcpBufStart    (uint32_t position, int mss, char *pData);
extern void TcpBufAddChar  (char c);
extern int  TcpBufLength   (void);
extern bool TcpBufFilled   (void);