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:
2018-11-15
Revision:
80:4ef1500fca1d
Parent:
75:603b10404183

File content as of revision 80:4ef1500fca1d:

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