feat(core): adding the port management
This commit is contained in:
parent
d4478022d0
commit
41e56955cd
2 changed files with 13 additions and 3 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue