|
vdr
1.7.27
|
#include <svdrp.h>
Public Member Functions | |
| cSocket (int Port, int Queue=1) | |
| ~cSocket () | |
| bool | Open (void) |
| int | Accept (void) |
| cSocket (int Port, int Queue=1) | |
| ~cSocket () | |
| bool | Open (void) |
| int | Accept (void) |
Private Member Functions | |
| void | Close (void) |
| void | Close (void) |
Private Attributes | |
| int | port |
| int | sock |
| int | queue |
Definition at line 16 of file include/vdr/svdrp.h.
| cSocket::cSocket | ( | int | Port, |
| int | Queue = 1 |
||
| ) |
| cSocket::cSocket | ( | int | Port, |
| int | Queue = 1 |
||
| ) |
| int cSocket::Accept | ( | void | ) |
Definition at line 109 of file svdrp.c.
References cSVDRPhosts::Acceptable(), isyslog, LOG_ERROR, Open(), sock, and SVDRPhosts.
Referenced by cSVDRP::Process().
| int cSocket::Accept | ( | void | ) |
| void cSocket::Close | ( | void | ) | [private] |
| void cSocket::Close | ( | void | ) | [private] |
| bool cSocket::Open | ( | void | ) |
Definition at line 66 of file svdrp.c.
References Close(), cSVDRPhosts::LocalhostOnly(), LOG_ERROR, port, queue, sock, and SVDRPhosts.
Referenced by Accept().
| bool cSocket::Open | ( | void | ) |
int cSocket::port [private] |
Definition at line 18 of file include/vdr/svdrp.h.
int cSocket::queue [private] |
Definition at line 20 of file include/vdr/svdrp.h.
int cSocket::sock [private] |
1.8.0