Class otnetDemon: class that encapsulates a generic demon
Class otnetDemon: class that encapsulates a generic demon. The demon is listening on a well known port and accepts connection requests from clients. When a connection is established, a child is forked off and startServer is called. startServer is an overloaded function and has the application specific stuff in it. Note that this is an abstract base class. An example how to use it is the dd_demon of the DD package.The code structure has been taken of W.R.Stevens book.
Modifications:
virtual ~otnetDemon()
inline int getDemonStatus()
int handleConnections()
virtual void startServer( int iNewSocket )
int sockfd
int iStatus
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de