1 #ifndef __JNET__JCONTROLHOSTSERVER__ 
    2 #define __JNET__JCONTROLHOSTSERVER__ 
   16 namespace JPP { 
using namespace JNET; }
 
   39                        const int backlog = 1) :
 
static const int DISPATCH_PORT
Default ControlHost port. 
 
JControlHostServer(const int port=DISPATCH_PORT, const int backlog=1)
Constructor. 
 
Auxiliary class for time values. 
 
bool in_avail(JTimeval timeout=JTimeval::min()) const 
Check availability of input. 
 
JControlHostServer ControlServ
Match name. 
 
int getFileDescriptor() const 
Get file descriptor. 
 
static JTimeval max()
Get maximal time value. 
 
void accept(const int server)
Accept connection from a server. 
 
JControlHost * AcceptClient(JTimeval timeout=JTimeval::max())
Accept new client. 
 
Light-weight wrapper class around server socket.