Added IPv4 and IPv6 support for SOCKS5.

This commit is contained in:
XMRig
2020-02-18 19:24:49 +07:00
parent fe3590ffa8
commit 6ff6577933
2 changed files with 15 additions and 10 deletions

View File

@@ -44,8 +44,8 @@ private:
Ready
};
bool isIPv4(const String &host) const;
bool isIPv6(const String &host) const;
bool isIPv4(const String &host, sockaddr_storage *addr) const;
bool isIPv6(const String &host, sockaddr_storage *addr) const;
void connect();
Client *m_client;