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@125:8c84daac38ab, 2019-02-22 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Feb 22 11:26:55 2019 +0000
- Revision:
- 125:8c84daac38ab
- Parent:
- 79:f50e02fb5c94
- Child:
- 144:6bd5c54efc7d
tidied up ntp data types for calculating ms from clktime.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdarg.h> |
andrewboyson | 79:f50e02fb5c94 | 2 | #include <stdint.h> |
andrewboyson | 54:84ef2b29cf7e | 3 | |
andrewboyson | 54:84ef2b29cf7e | 4 | extern void TcpBufAddChar (char c); |
andrewboyson | 54:84ef2b29cf7e | 5 | extern void TcpBufFillChar (char c, int length); |
andrewboyson | 54:84ef2b29cf7e | 6 | extern int TcpBufAddText (const char* text); |
andrewboyson | 54:84ef2b29cf7e | 7 | extern int TcpBufAddV (char *fmt, va_list argptr); |
andrewboyson | 54:84ef2b29cf7e | 8 | extern int TcpBufAddF (char *fmt, ...); |
andrewboyson | 54:84ef2b29cf7e | 9 | extern void TcpBufAddData (const char* data, int length); |
andrewboyson | 54:84ef2b29cf7e | 10 | extern void TcpBufAddStream(void (*startFunction)(void), int (*enumerateFunction)(void)); |
andrewboyson | 54:84ef2b29cf7e | 11 | |
andrewboyson | 79:f50e02fb5c94 | 12 | extern void TcpBufStart (uint32_t position, int mss, char *pData); |
andrewboyson | 61:aad055f1b0d1 | 13 | extern int TcpBufLength (void); |