Added IPv4 and IPv6 support for SOCKS5.
This commit is contained in:
parent
2fea4e72b5
commit
2e07e69697
2 changed files with 15 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue