#include "Beowulf/SockServ.H"
#include "Beowulf/BeowulfOpts.H"
#include "Beowulf/TCPdefs.H"
#include "Component/OptionManager.H"
#include "Util/log.H"
#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
Go to the source code of this file.
Defines | |
#define | MYLOGID sock |
#define | SOCKSERV_UNCONFIGURED 0 |
internal states (in 'state' member): | |
#define | SOCKSERV_RUNNING 1 |
#define | SOCKSERV_BOGUS 2 |
#define | CLITIMEOUT 3000 |
timeout for termination of idle clients, in seconds: |
A simple multi-client socket server
Definition in file SockServ.C.
#define CLITIMEOUT 3000 |
timeout for termination of idle clients, in seconds:
Definition at line 66 of file SockServ.C.
Referenced by SockServ::check().
#define SOCKSERV_UNCONFIGURED 0 |
internal states (in 'state' member):
Definition at line 61 of file SockServ.C.
Referenced by SockServ::SockServ().