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/tcpsend.h@74:c3756bfa960e, 2018-10-29 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon Oct 29 09:33:44 2018 +0000
- Revision:
- 74:c3756bfa960e
- Parent:
- tcp/tcp.h@73:43e3d7fb3d60
- Child:
- 75:603b10404183
Introduced the polling for and split Tcp into tcpSend and TcpRecv. Testied and working.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 74:c3756bfa960e | 1 | #include "tcb.h" |
andrewboyson | 61:aad055f1b0d1 | 2 | |
andrewboyson | 74:c3756bfa960e | 3 | extern int TcpSend (int* pSize, void* pPacket, struct tcb* pTcb, int sendType); |
andrewboyson | 74:c3756bfa960e | 4 | extern int TcpPollForPacketToSend(int* pSize, void* pPacket, int type, int* pRemArIndex); |
andrewboyson | 52:fbc5a46b5e16 | 5 | |
andrewboyson | 74:c3756bfa960e | 6 | #define TCP_SEND_NORMAL 0 |
andrewboyson | 74:c3756bfa960e | 7 | #define TCP_RESEND_ACK 1 |
andrewboyson | 74:c3756bfa960e | 8 | #define TCP_SEND_RESET 2 |