1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

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
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;