Empezando proyecto
This commit is contained in:
33
Server/Server.hpp
Normal file
33
Server/Server.hpp
Normal 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
|
||||
Reference in New Issue
Block a user