change ip

This commit is contained in:
Talyx
2022-01-20 23:16:17 +03:00
parent 7c4ecd91e3
commit 131f9d1d11
4 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ private:
public:
Socket();
Socket(int domain, int type, int protocol, int port);
Socket(int domain, int type, int protocol, int port, std::string ip);
int getSocketFd(void);
struct sockaddr_in getAddres(void);
socklen_t getAddlen(void);