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

Committer:
andrewboyson
Date:
2019-09-29
Revision:
160:6a1d1d368f80
Parent:
80:4ef1500fca1d

File content as of revision 160:6a1d1d368f80:

#include "tcb.h"

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, int* pLocIpScope);