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:
2021-05-20
Revision:
200:5acbc41bf469
Parent:
80:4ef1500fca1d

File content as of revision 200:5acbc41bf469:

#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);