13 #ifndef UdpComponentImpl_HPP 14 #define UdpComponentImpl_HPP 159 #endif // end UdpComponentImpl void sendBuffer(Fw::Buffer buffer, SocketIpStatus status)
sends a buffer to be filled with data
U16 getRecvPort()
get the port being received on
PlatformIntType NATIVE_INT_TYPE
PlatformSizeType FwSizeType
Helper for setting up Udp using Berkeley sockets as a client.
UdpComponentImpl(const char *const compName)
construct the TcpClient component.
SocketIpStatus configureRecv(const char *hostname, const U16 port, FwSizeType buffer_size=1024)
Configures the Udp receive settings but does not open the connection.
supports a task to read a given socket adaptation
SocketIpStatus configureSend(const char *hostname, const U16 port, const U32 send_timeout_seconds=SOCKET_SEND_TIMEOUT_SECONDS, const U32 send_timeout_microseconds=SOCKET_SEND_TIMEOUT_MICROSECONDS)
Configures the Udp send settings but does not open the connection.
IpSocket & getSocketHandler()
returns a reference to the socket handler
Fw::Buffer getBuffer()
returns a buffer to fill with data
Status returned by the send call.
Auto-generated base for Udp component.
SocketIpStatus
Status enumeration for socket return values.
void connected()
called when the IPv4 system has been connected
~UdpComponentImpl()
Destroy the component.
Helper base-class for setting up Berkeley sockets.