13 #ifndef TcpClientComponentImpl_HPP
14 #define TcpClientComponentImpl_HPP
PlatformIntType NATIVE_INT_TYPE
PlatformSizeType FwSizeType
@ SOCKET_SEND_TIMEOUT_SECONDS
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
Helper base-class for setting up Berkeley sockets.
Status returned by the send call.
supports a task to read a given socket adaptation
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.
void connected()
called when the IPv4 system has been connected
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status)
sends a buffer to be filled with data
IpSocket & getSocketHandler()
returns a reference to the socket handler
Fw::Buffer getBuffer()
returns a buffer to fill with data
~TcpClientComponentImpl()
Destroy the component.
Helper for setting up Tcp using Berkeley sockets as a client.
SocketIpStatus
Status enumeration for socket return values.