TCP server added and changes made to the HTTP server.

This commit is contained in:
nick-kramer117 2023-03-14 10:39:34 -03:00
parent 5ad9c8e740
commit a505f5a692
5 changed files with 665 additions and 20 deletions

View file

@ -29,10 +29,10 @@ namespace util
virtual void run () {};
virtual void setDataDir (std::string path);
bool onTcpServer;
bool isDaemon;
bool running;
protected:
Daemon_Singleton ();
@ -114,12 +114,11 @@ namespace util
void run ();
private:
std::string pidfile;
int pidFH;
public:
bool onTcpServer;
int gracefulShutdownInterval; // in seconds
};
#endif