1- basic IRC functional server; 2- uml diagram updated; 3- added subject

This commit is contained in:
ouafabulous 2025-05-14 23:38:21 +02:00
parent 186285eaf6
commit 025cf314a3
6 changed files with 74 additions and 19 deletions

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* server.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* By: omoudni <omoudni@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/13 11:06:56 by rparodi #+# #+# */
/* Updated: 2025/05/13 13:04:29 by rparodi ### ########.fr */
/* Updated: 2025/05/14 23:23:13 by omoudni ### ########.fr */
/* */
/* ************************************************************************** */
@ -18,10 +18,13 @@ class Server {
private:
unsigned short int _port;
std::string _password;
int server_fd;
public:
Server();
Server(int port, const std::string &password);
~Server();
void showInfo() const;
unsigned short int getPort() const;
void setServerFd(int fd);
void start();
};