diff options
| author | Gavin Andresen <[email protected]> | 2012-06-18 11:39:16 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-06-18 11:39:16 -0700 |
| commit | c5532e188e17deb077c2c78d9087943236e45458 (patch) | |
| tree | 000e516b9764454f36818385ca2635abd0462b03 /src/netbase.h | |
| parent | Merge branch 'master' of https://github.com/fanquake/bitcoin (diff) | |
| parent | Add netbase tests (diff) | |
| download | discoin-c5532e188e17deb077c2c78d9087943236e45458.tar.xz discoin-c5532e188e17deb077c2c78d9087943236e45458.zip | |
Merge pull request #1399 from sipa/ipparse
Improve parsing of IPv6 addresses
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 a66d3e7f6..7a797e2fd 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -133,6 +133,7 @@ class CService : public CNetAddr }; enum Network ParseNetwork(std::string net); +void SplitHostPort(std::string in, int &portOut, std::string &hostOut); bool SetProxy(enum Network net, CService addrProxy, int nSocksVersion = 5); bool GetProxy(enum Network net, CService &addrProxy); bool IsProxy(const CNetAddr &addr); |