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-04-10
Revision:
140:9000ea70b220
Parent:
80:4ef1500fca1d

File content as of revision 140:9000ea70b220:

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