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