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

Revision:
75:603b10404183
Parent:
74:c3756bfa960e
Child:
80:4ef1500fca1d
--- a/tcp/tcpsend.h	Mon Oct 29 09:33:44 2018 +0000
+++ b/tcp/tcpsend.h	Tue Oct 30 22:11:22 2018 +0000
@@ -1,8 +1,9 @@
 #include "tcb.h"
 
-extern int  TcpSend               (int* pSize, void* pPacket, struct tcb* pTcb, int sendType);
+extern int  TcpSend               (int* pSize, void* pPacket, struct tcb* pTcb);
+extern int  TcpResendLastAck      (int* pSize, void* pPacket, struct tcb* pTcb);
+extern int  TcpResendLastUnAcked  (int* pSize, void* pPacket, struct tcb* pTcb);
+extern int  TcpSendReset          (int* pSize, void* pPacket, struct tcb* pTcb);
+
 extern int  TcpPollForPacketToSend(int* pSize, void* pPacket, int type, int* pRemArIndex);
 
-#define TCP_SEND_NORMAL 0
-#define TCP_RESEND_ACK  1
-#define TCP_SEND_RESET  2