This commit is contained in:
Kbz-8
2024-01-21 10:40:54 +01:00
parent 4374f826ea
commit 488c0ad83c
8 changed files with 139 additions and 6 deletions

View File

@@ -6,23 +6,30 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 09:12:28 by maldavid #+# #+# */
/* Updated: 2024/01/21 09:14:20 by maldavid ### ########.fr */
/* Updated: 2024/01/21 10:37:58 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __SERVER_IRC__
#define __SERVER_IRC__
#include <string>
#include <vector>
namespace irc
{
class Server
{
public:
Server();
Server(int port, const std::string& password);
~Server();
private:
std::vector<class Channel> _channels;
const std::string _password;
const int _port;
int _socket;
};
}