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-15
Revision:
146:0fc66d610fd6
Parent:
145:206bf0d073c7
Child:
155:22f249751106

File content as of revision 146:0fc66d610fd6:

#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);