Empezando proyecto

This commit is contained in:
aortigos
2026-04-14 01:01:01 +02:00
commit b39245ddf1
4 changed files with 161 additions and 0 deletions

33
Server/Server.hpp Normal file
View File

@@ -0,0 +1,33 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Server.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/04/13 22:31:44 by aortigos #+# #+# */
/* Updated: 2026/04/13 22:31:44 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SERVER_HPP
# define SERVER_HPP
# include <iostream>
# include <cstdlib>
# include <sys/socket.h>
# include <netinet/in.h>
# include <unistd.h>
class Server
{
private:
int port;
public:
Server();
Server(int port);
~Server();
int run();
};
#endif