From b24e6e4d1b917210b9e22711fb2535f53e949547 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 16 Dec 2011 19:48:03 -0500 Subject: Add -keepnode which attempts to -addnode and keep a connection open --- src/netbase.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/netbase.h') 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& vIP, int nMaxSolutions = 0, bool fAllowLookup = true); bool LookupHostNumeric(const char *pszName, std::vector& vIP, int nMaxSolutions = 0); bool Lookup(const char *pszName, CService& addr, int portDefault = 0, bool fAllowLookup = true); +bool Lookup(const char *pszName, std::vector& 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); -- cgit v1.2.3