Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cSocket Class Reference

#include <svdrp.h>


Detailed Description

Socket handling.

svdrp.h: Simple Video Disk Recorder Protocol

See the main source file 'vdr.c' for copyright information and how to reach the author.

Id
svdrp.h 1.18 2002/11/30 14:36:04 kls Exp

Definition at line 17 of file svdrp.h.

Public Methods

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

Private Methods

void Close (void)

Private Attributes

int port
int sock
int queue


Constructor & Destructor Documentation

cSocket::cSocket int    Port,
int    Queue = 1
 

Definition at line 39 of file svdrp.c.

References port, queue, and sock.

cSocket::~cSocket  
 

Definition at line 46 of file svdrp.c.

References Close().


Member Function Documentation

int cSocket::Accept void   
 

Definition at line 102 of file svdrp.c.

References isyslog, LOG_ERROR, and Open().

Referenced by cSVDRP::Process().

void cSocket::Close void    [private]
 

Definition at line 51 of file svdrp.c.

References sock.

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

bool cSocket::Open void   
 

Definition at line 59 of file svdrp.c.

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

Referenced by Accept().


Field Documentation

int cSocket::port [private]
 

Definition at line 19 of file svdrp.h.

Referenced by cSocket(), and Open().

int cSocket::queue [private]
 

Definition at line 21 of file svdrp.h.

Referenced by cSocket().

int cSocket::sock [private]
 

Definition at line 20 of file svdrp.h.

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


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:56 2003 for VDR by doxygen1.3-rc2