fixed poll bug when exiting with ctrl+C
This commit is contained in:
@@ -21,7 +21,13 @@
|
||||
#include <ctime>
|
||||
#include <iomanip>
|
||||
#define BUFFER_SIZE 1024
|
||||
|
||||
#define RED "\033[31m"
|
||||
#define GREEN "\033[32m"
|
||||
#define YELLOW "\033[33m"
|
||||
#define BLUE "\033[34m"
|
||||
#define MAGENTA "\033[35m"
|
||||
#define CYAN "\033[36m"
|
||||
#define RESET "\033[0m"
|
||||
|
||||
class Server {
|
||||
private:
|
||||
|
Reference in New Issue
Block a user