@@ -207,9 +207,9 @@ bool GetProxy(enum Network net, proxyType& proxyInfoOut);
207207bool IsProxy (const CNetAddr& addr);
208208bool SetNameProxy (const proxyType &addrProxy);
209209bool HaveNameProxy ();
210- bool LookupHost (const char * pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions = 0 , bool fAllowLookup = true );
211- bool Lookup (const char * pszName, CService& addr, int portDefault = 0 , bool fAllowLookup = true );
212- bool Lookup (const char * pszName, std::vector<CService>& vAddr, int portDefault = 0 , bool fAllowLookup = true , unsigned int nMaxSolutions = 0 );
210+ bool LookupHost (const char * pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions, bool fAllowLookup );
211+ bool Lookup (const char * pszName, CService& addr, int portDefault, bool fAllowLookup );
212+ bool Lookup (const char * pszName, std::vector<CService>& vAddr, int portDefault, bool fAllowLookup , unsigned int nMaxSolutions);
213213bool LookupNumeric (const char * pszName, CService& addr, int portDefault = 0 );
214214bool ConnectSocket (const CService& addr, SOCKET& hSocketRet, int nTimeout, bool * outProxyConnectionFailed = 0 );
215215bool ConnectSocketByName (CService& addr, SOCKET& hSocketRet, const char * pszDest, int portDefault, int nTimeout, bool * outProxyConnectionFailed = 0 );
0 commit comments