 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
12 #ifndef DRV_TCPSERVER_TCPHELPER_HPP_
13 #define DRV_TCPSERVER_TCPHELPER_HPP_
uint8_t U8
8-bit unsigned integer
Helper base-class for setting up Berkley sockets.
TcpServerSocket()
Constructor for client socket tcp implementation.
I32 sendProtocol(const U8 *const data, const U32 size)
Protocol specific implementation of send. Called directly with retry from send.
SocketIpStatus startup(void)
Opens the server socket and listens, does not block.
void shutdown(void)
Shutdown client socket, and listening server socket.
I32 recvProtocol(U8 *const data, const U32 size)
Protocol specific implementation of recv. Called directly with error handling from recv.
Helper for setting up Tcp using Berkley sockets as a server.
SocketIpStatus openProtocol(NATIVE_INT_TYPE &fd)
Tcp specific implementation for opening a client socket connected to this server.
SocketIpStatus
Status enumeration for socket return values.
Declares ISF basic types.
int NATIVE_INT_TYPE
native integer type declaration