aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-06-23 11:53:45 -0400
committerCory Fields <cory-nospam-@coryfields.com>2017-09-18 13:47:47 -0400
commitb887676e1b86ce03181b5876cf6203d617750d0a (patch)
treed7b26f4b56d1960c144f7eaf4abe4104ff012f2f /src/netbase.h
parent45fd75453e59868471572907db237630ca2b7afd (diff)
downloadbitcoin-b887676e1b86ce03181b5876cf6203d617750d0a.tar.xz
net: remove now-unused functions
Diffstat (limited to 'src/netbase.h')
-rw-r--r--src/netbase.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/netbase.h b/src/netbase.h
index 50425f0f80..e7d7bcb375 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -51,8 +51,6 @@ bool Lookup(const char *pszName, CService& addr, int portDefault, bool fAllowLoo
bool Lookup(const char *pszName, std::vector<CService>& vAddr, int portDefault, bool fAllowLookup, unsigned int nMaxSolutions);
CService LookupNumeric(const char *pszName, int portDefault = 0);
bool LookupSubNet(const char *pszName, CSubNet& subnet);
-bool ConnectSocket(const CService &addr, SOCKET& hSocketRet, int nTimeout, bool *outProxyConnectionFailed = nullptr);
-bool ConnectSocketByName(CService &addr, SOCKET& hSocketRet, const char *pszDest, int portDefault, int nTimeout, bool *outProxyConnectionFailed = nullptr);
bool ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRet, int nTimeout);
bool ConnectThroughProxy(const proxyType &proxy, const std::string& strDest, int port, SOCKET& hSocketRet, int nTimeout, bool *outProxyConnectionFailed);
/** Return readable error string for a network error code */