mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
net: Split resolving out of CService
This commit is contained in:
@@ -152,10 +152,6 @@ class CService : public CNetAddr
|
||||
CService(const CNetAddr& ip, unsigned short port);
|
||||
CService(const struct in_addr& ipv4Addr, unsigned short port);
|
||||
CService(const struct sockaddr_in& addr);
|
||||
explicit CService(const char *pszIpPort, int portDefault);
|
||||
explicit CService(const char *pszIpPort);
|
||||
explicit CService(const std::string& strIpPort, int portDefault);
|
||||
explicit CService(const std::string& strIpPort);
|
||||
void Init();
|
||||
void SetPort(unsigned short portIn);
|
||||
unsigned short GetPort() const;
|
||||
|
||||
Reference in New Issue
Block a user