Service mode flag as argument in start function of Server
This commit is contained in:
@@ -22,8 +22,8 @@ private:
|
||||
void handle_client(int socket, bool flag, int steps);
|
||||
bool check_status(Maze& maze);
|
||||
public:
|
||||
Server(const std::string& host, const unsigned short port, bool service_flag);
|
||||
void start(int steps = 10);
|
||||
Server(const std::string& host, const unsigned short port);
|
||||
void start(int steps, bool service_flag);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user