13 #ifndef TcpClientComponentImpl_HPP 14 #define TcpClientComponentImpl_HPP 137 #endif // end TcpClientComponentImpl Fw::Buffer getBuffer() override
returns a buffer to fill with data
PlatformSizeType FwSizeType
~TcpClientComponentImpl()
Destroy the component.
Auto-generated base for TcpClient component.
SocketIpStatus configure(const char *hostname, const U16 port, const U32 send_timeout_seconds=SOCKET_SEND_TIMEOUT_SECONDS, const U32 send_timeout_microseconds=SOCKET_SEND_TIMEOUT_MICROSECONDS, FwSizeType buffer_size=1024)
Configures the TcpClient settings but does not open the connection.
TcpClientComponentImpl(const char *const compName)
construct the TcpClient component.
IpSocket & getSocketHandler() override
returns a reference to the socket handler
supports a task to read a given socket adaptation
void connected() override
called when the IPv4 system has been connected
PlatformIndexType FwIndexType
SocketIpStatus
Status enumeration for socket return values.
Helper base-class for setting up Berkeley sockets.
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status) override
sends a buffer to be filled with data
Helper for setting up Tcp using Berkeley sockets as a client.