Added IPv4 and IPv6 support for SOCKS5.

This commit is contained in:
XMRig 2020-02-18 19:24:49 +07:00
parent 2fea4e72b5
commit 2e07e69697
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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;