cSocket Class Reference

#include <svdrp.h>

List of all members.

Public Member Functions

 cSocket (int Port, int Queue=1)
 ~cSocket ()
bool Open (void)
int Accept (void)

Private Member Functions

void Close (void)

Private Attributes

int port
int sock
int queue


Detailed Description

Definition at line 16 of file svdrp.h.


Constructor & Destructor Documentation

cSocket::cSocket ( int  Port,
int  Queue = 1 
)

Definition at line 45 of file svdrp.c.

References port, queue, and sock.

cSocket::~cSocket (  ) 

Definition at line 52 of file svdrp.c.

References Close().

Here is the call graph for this function:


Member Function Documentation

void cSocket::Close ( void   )  [private]

Definition at line 57 of file svdrp.c.

References sock.

Referenced by Open(), and ~cSocket().

bool cSocket::Open ( void   ) 

Definition at line 65 of file svdrp.c.

References Close(), LOG_ERROR, port, queue, and sock.

Referenced by Accept().

Here is the call graph for this function:

int cSocket::Accept ( void   ) 

Definition at line 108 of file svdrp.c.

References cSVDRPhosts::Acceptable(), isyslog, LOG_ERROR, Open(), sock, and SVDRPhosts.

Referenced by cSVDRP::Process().

Here is the call graph for this function:


Member Data Documentation

int cSocket::port [private]

Definition at line 18 of file svdrp.h.

Referenced by cSocket(), and Open().

int cSocket::sock [private]

Definition at line 19 of file svdrp.h.

Referenced by Accept(), Close(), cSocket(), and Open().

int cSocket::queue [private]

Definition at line 20 of file svdrp.h.

Referenced by cSocket(), and Open().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:29:03 2007 for VDR by  doxygen 1.5.3-20071008