diff options
author | Matt Corallo <matt@bluematt.me> | 2011-12-16 19:48:03 -0500 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2012-01-12 22:13:16 -0500 |
commit | b24e6e4d1b917210b9e22711fb2535f53e949547 (patch) | |
tree | 65aef349a108c011dc828b3645dd0a8606d878cb /src/netbase.h | |
parent | 3f64fa1369bde45034e451c4093e0852e59a1cdf (diff) |
Add -keepnode which attempts to -addnode and keep a connection open
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); |