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@61:aad055f1b0d1, 2018-01-11 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Jan 11 17:38:21 2018 +0000
- Revision:
- 61:aad055f1b0d1
- Parent:
- 54:84ef2b29cf7e
- Child:
- 79:f50e02fb5c94
Removed dependence on Mbed OS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdarg.h> |
andrewboyson | 54:84ef2b29cf7e | 2 | |
andrewboyson | 54:84ef2b29cf7e | 3 | extern void TcpBufAddChar (char c); |
andrewboyson | 54:84ef2b29cf7e | 4 | extern void TcpBufFillChar (char c, int length); |
andrewboyson | 54:84ef2b29cf7e | 5 | extern int TcpBufAddText (const char* text); |
andrewboyson | 54:84ef2b29cf7e | 6 | extern int TcpBufAddV (char *fmt, va_list argptr); |
andrewboyson | 54:84ef2b29cf7e | 7 | extern int TcpBufAddF (char *fmt, ...); |
andrewboyson | 54:84ef2b29cf7e | 8 | extern void TcpBufAddData (const char* data, int length); |
andrewboyson | 54:84ef2b29cf7e | 9 | extern void TcpBufAddStream(void (*startFunction)(void), int (*enumerateFunction)(void)); |
andrewboyson | 54:84ef2b29cf7e | 10 | |
andrewboyson | 54:84ef2b29cf7e | 11 | extern void TcpBufStart (int position, int mss, char *pData); |
andrewboyson | 61:aad055f1b0d1 | 12 | extern int TcpBufLength (void); |