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