12 #ifndef DRV_TCPCLIENT_TCPHELPER_HPP_
13 #define DRV_TCPCLIENT_TCPHELPER_HPP_
uint8_t U8
8-bit unsigned integer
C++-compatible configuration header for fprime configuration.
Helper base-class for setting up Berkeley sockets.
Helper for setting up Tcp using Berkeley sockets as a client.
TcpClientSocket()
Constructor for client socket tcp implementation.
I32 recvProtocol(const SocketDescriptor &socketDescriptor, U8 *const data, const U32 size) override
Protocol specific implementation of recv. Called directly with error handling from recv.
SocketIpStatus openProtocol(SocketDescriptor &socketDescriptor) override
Tcp specific implementation for opening a client socket.
I32 sendProtocol(const SocketDescriptor &socketDescriptor, const U8 *const data, const U32 size) override
Protocol specific implementation of send. Called directly with retry from send.
bool isValidPort(U16 port) override
Check if the given port is valid for the socket.
SocketIpStatus
Status enumeration for socket return values.