diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-01 16:01:36 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-01 16:01:36 -0400 |
| commit | 3443b203e4035104071f5af0143591dcd48a4974 (patch) | |
| tree | 149d93cacdd5d1e75abc50ad7bd894844284d5d4 /node/InetAddress.hpp | |
| parent | 1a764559863c823da227098701521ed29bec037e (diff) | |
| download | infinitytier-3443b203e4035104071f5af0143591dcd48a4974.tar.gz infinitytier-3443b203e4035104071f5af0143591dcd48a4974.zip | |
Each peer now tracks the last time it announced multicast LIKEs independently and does so frequently enough to prevent expires. Also add a multicast debug facility for use on the testnet.
Diffstat (limited to 'node/InetAddress.hpp')
| -rw-r--r-- | node/InetAddress.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node/InetAddress.hpp b/node/InetAddress.hpp index 6f21cc7f..54fbc395 100644 --- a/node/InetAddress.hpp +++ b/node/InetAddress.hpp @@ -109,6 +109,12 @@ public: this->fromString(ipSlashPort); } + InetAddress(const char *ipSlashPort) + throw() + { + this->fromString(std::string(ipSlashPort)); + } + inline InetAddress &operator=(const InetAddress &a) throw() { |
