![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Drv/SocketIpDriver/SocketHelper.hpp>
Public Member Functions | |
SocketHelper () | |
virtual | ~SocketHelper () |
SocketIpStatus | configure (const char *hostname, const U16 port, const bool send_udp, const U32 timeout_seconds, const U32 timeout_microseconds) |
bool | isOpened (void) |
SocketIpStatus | open (void) |
void | send (U8 *data, const U32 size) |
SocketIpStatus | recv (U8 *data, I32 &size) |
void | close (void) |
Definition at line 20 of file SocketHelper.hpp.
Drv::SocketHelper::SocketHelper | ( | ) |
Definition at line 54 of file SocketHelper.cpp.
|
virtual |
Definition at line 64 of file SocketHelper.cpp.
void Drv::SocketHelper::close | ( | void | ) |
Definition at line 90 of file SocketHelper.cpp.
SocketIpStatus Drv::SocketHelper::configure | ( | const char * | hostname, |
const U16 | port, | ||
const bool | send_udp, | ||
const U32 | timeout_seconds, | ||
const U32 | timeout_microseconds | ||
) |
Definition at line 68 of file SocketHelper.cpp.
bool Drv::SocketHelper::isOpened | ( | void | ) |
Definition at line 86 of file SocketHelper.cpp.
SocketIpStatus Drv::SocketHelper::open | ( | void | ) |
Definition at line 98 of file SocketHelper.cpp.
SocketIpStatus Drv::SocketHelper::recv | ( | U8 * | data, |
I32 & | size | ||
) |
Definition at line 243 of file SocketHelper.cpp.
void Drv::SocketHelper::send | ( | U8 * | data, |
const U32 | size | ||
) |
Definition at line 200 of file SocketHelper.cpp.