CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::NetSocket Class Referenceabstract
Inheritance diagram for NSROOT::NetSocket:

Public Member Functions

virtual bool SendData (const char *buf, size_t size)=0
virtual size_t ReceiveData (void *buf, size_t n)=0
void SetTimeout (timeval timeout)

Protected Attributes

struct timeval m_timeout

Detailed Description

Definition at line 49 of file socket.h.

Constructor & Destructor Documentation

◆ NetSocket()

NSROOT::NetSocket::NetSocket ( )
inline

Definition at line 52 of file socket.h.

◆ ~NetSocket()

virtual NSROOT::NetSocket::~NetSocket ( )
inlinevirtual

Definition at line 57 of file socket.h.

Member Function Documentation

◆ ReceiveData()

virtual size_t NSROOT::NetSocket::ReceiveData ( void * buf,
size_t n )
pure virtual

◆ SendData()

virtual bool NSROOT::NetSocket::SendData ( const char * buf,
size_t size )
pure virtual

◆ SetTimeout()

void NSROOT::NetSocket::SetTimeout ( timeval timeout)
inline

Definition at line 60 of file socket.h.

Field Documentation

◆ m_timeout

struct timeval NSROOT::NetSocket::m_timeout
protected

Definition at line 63 of file socket.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/socket.h