12 #ifndef DRV_TCPCLIENT_TCPHELPER_HPP_ 13 #define DRV_TCPCLIENT_TCPHELPER_HPP_ 17 #include <config/IpCfg.hpp> SocketIpStatus openProtocol(SocketDescriptor &socketDescriptor) override
Tcp specific implementation for opening a client socket.
bool isValidPort(U16 port) override
Check if the given port is valid for the socket.
PlatformSizeType FwSizeType
PlatformSignedSizeType FwSignedSizeType
TcpClientSocket()
Constructor for client socket tcp implementation.
FwSignedSizeType sendProtocol(const SocketDescriptor &socketDescriptor, const U8 *const data, const FwSizeType size) override
Protocol specific implementation of send. Called directly with retry from send.
FwSignedSizeType recvProtocol(const SocketDescriptor &socketDescriptor, U8 *const data, const FwSizeType size) override
Protocol specific implementation of recv. Called directly with error handling from recv...
uint8_t U8
8-bit unsigned integer
SocketIpStatus
Status enumeration for socket return values.
Helper base-class for setting up Berkeley sockets.
Helper for setting up Tcp using Berkeley sockets as a client.