#ifndef SERVER_HPP #define SERVER_HPP #include "maze.hpp" #include #include #include #include #include #include #include const int MAX_CLIENTS = 512; class Server { private: bool service_mode; void handle_client(int client_socket, bool _mode); // Принимает клиентский сокет bool check_status(Maze& maze); public: Server() : service_mode(false){}; void start(const std::string& h = "localhost", const unsigned short p = 1024u); // Запуск сервера }; #endif