diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-01-16 16:45:43 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-01-16 16:45:43 -0500 |
commit | 8498c591448d01a8a8ccc5ad1e8cbee9dbcf1500 (patch) | |
tree | 5084f2fedb69b5c3a58e2ea915b27adbf189c0e0 /src/netbase.h | |
parent | 5dc090009ea3b943d9b474555eea04acf6b6a972 (diff) | |
parent | 10ba0a3efc350b82d1415736a545f17e739c0098 (diff) | |
download | bitcoin-8498c591448d01a8a8ccc5ad1e8cbee9dbcf1500.tar.xz |
Merge branch 'keepnode' of https://github.com/TheBlueMatt/bitcoin
Diffstat (limited to 'src/netbase.h')
-rw-r--r-- | src/netbase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netbase.h b/src/netbase.h index 6f06f8fe08..b12fb0045a 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -128,6 +128,7 @@ class CService : public CNetAddr bool LookupHost(const char *pszName, std::vector<CNetAddr>& vIP, int nMaxSolutions = 0, bool fAllowLookup = true); bool LookupHostNumeric(const char *pszName, std::vector<CNetAddr>& vIP, int nMaxSolutions = 0); bool Lookup(const char *pszName, CService& addr, int portDefault = 0, bool fAllowLookup = true); +bool Lookup(const char *pszName, std::vector<CService>& vAddr, int portDefault = 0, bool fAllowLookup = true, int nMaxSolutions = 0); bool LookupNumeric(const char *pszName, CService& addr, int portDefault = 0); bool ConnectSocket(const CService &addr, SOCKET& hSocketRet, int nTimeout = nConnectTimeout); |