diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-05-10 00:39:49 +0200 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-05-10 00:39:49 +0200 |
commit | b641c9cd217f7789726bb25ab87cd35e2e5fcaad (patch) | |
tree | 705e5c8802f3ee6be7b7538dc362643e42a852b8 /src/net.h | |
parent | 605d5b55582f00ea8a089fe632cd8a52e951126b (diff) |
Fix addnode "onetry": Connect with OpenNetworkConnection
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ void AddressCurrentlyConnected(const CService& addr); CNode* FindNode(const CNetAddr& ip); CNode* FindNode(const CService& ip); CNode* ConnectNode(CAddress addrConnect, const char *strDest = NULL); +bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); void MapPort(bool fUseUPnP); unsigned short GetListenPort(); bool BindListenPort(const CService &bindAddr, std::string& strError=REF(std::string())); |