/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* server.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/20 21:50:32 by rparodi #+# #+# */ /* Updated: 2025/05/21 13:03:01 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include #include "PollManager.hpp" class Server { private: int _port; int _serverFd; std::string _password; PollManager _pollManager; public: Server(int port, const std::string &password); ~Server(); void start(); unsigned short int getPort() const; void showInfo() const; };