feat(core): adding the port management

This commit is contained in:
Raphael 2025-05-13 12:06:38 +02:00
parent d4478022d0
commit 41e56955cd
2 changed files with 13 additions and 3 deletions

View file

@ -16,10 +16,11 @@
class Server {
private:
int _port;
unsigned short int _port;
std::string _password;
public:
Server();
Server(int port, const std::string &password);
~Server();
unsigned short int getPort() const;
};