F´ Flight Software - C/C++ Documentation  NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Drv::SocketHelper Class Reference

#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)
 

Detailed Description

Definition at line 20 of file SocketHelper.hpp.

Constructor & Destructor Documentation

◆ SocketHelper()

Drv::SocketHelper::SocketHelper ( )

Definition at line 54 of file SocketHelper.cpp.

◆ ~SocketHelper()

Drv::SocketHelper::~SocketHelper ( )
virtual

Definition at line 64 of file SocketHelper.cpp.

Member Function Documentation

◆ close()

void Drv::SocketHelper::close ( void  )

Definition at line 90 of file SocketHelper.cpp.

◆ configure()

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.

◆ isOpened()

bool Drv::SocketHelper::isOpened ( void  )

Definition at line 86 of file SocketHelper.cpp.

◆ open()

SocketIpStatus Drv::SocketHelper::open ( void  )

Definition at line 98 of file SocketHelper.cpp.

◆ recv()

SocketIpStatus Drv::SocketHelper::recv ( U8 data,
I32 &  size 
)

Definition at line 243 of file SocketHelper.cpp.

◆ send()

void Drv::SocketHelper::send ( U8 data,
const U32  size 
)

Definition at line 200 of file SocketHelper.cpp.


The documentation for this class was generated from the following files: