/******************************************************************************/ /* */ /* ::: :::::::: */ /* server.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: omoudni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/13 11:06:56 by rparodi #+# #+# */ /* Updated: 2025/05/19 20:12:46 by omoudni ### ########.fr */ /* */ /******************************************************************************/ #pragma once #include "core.hpp" #include class Server { private: unsigned short int _port; std::string _password; int server_fd; PollManager _pollManager; public: Server(); Server(int port, const std::string &password); ~Server(); void showInfo() const; unsigned short int getPort() const; void setServerFd(int fd); void start(); };