vdr
2.2.0
|
#include <svdrp.h>
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 |
cSocket::cSocket | ( | int | Port, |
int | Queue = 1 |
||
) |
int cSocket::Accept | ( | void | ) |
Definition at line 107 of file svdrp.c.
References cSVDRPhosts::Acceptable(), isyslog, LOG_ERROR, Open(), sock, and SVDRPhosts.
Referenced by cSVDRP::Process().
|
private |
bool cSocket::Open | ( | void | ) |
Definition at line 64 of file svdrp.c.
References Close(), cSVDRPhosts::LocalhostOnly(), LOG_ERROR, port, queue, sock, and SVDRPhosts.
Referenced by Accept().
|
private |
|
private |
|
private |