Files
Cnomicon/include/libnet++/TcpArchdaemon.h
2021-01-22 10:16:20 -05:00

57 lines
1.1 KiB
C++

//
// TCP Daemon
//
/* prevent multiple inclusions */
#ifndef __TcpArchdaemon__
#define __TcpArchdaemon__
/* includes *****************************************************************/
#include "TcpDaemon.h"
#include "TcpThread.h"
/* defines ******************************************************************/
/* macros *******************************************************************/
/* structs & typedefs *******************************************************/
/* c class definitions ******************************************************/
class TcpArchdaemon : public TcpDaemon {
// public data
public:
// protected data
protected:
// private data
private:
// static data
// public methods
public:
// constructors
TcpArchdaemon();
// destructor
virtual ~TcpArchdaemon();
// public methods
int StartService(const char *n,const char *h,const char *p,int d=0,int c=0);
int RunService(void);
// overidden methods
int Listen( void *arg=NULL );
virtual TcpThread *ClientThread( void **parg ) {return NULL;};
// static methods
// private methods
private:
};
#endif