summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-21 15:18:50 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-21 15:18:50 -0700
commit2436e22f46b97b281e5fcf861ba091c9cb70a76f (patch)
tree874024c3033711788ea0e6733f1f909c4a2e65ba /node/Node.hpp
parent128a13107023075a8167bfdfb8ed9d404bd1dccd (diff)
downloadinfinitytier-2436e22f46b97b281e5fcf861ba091c9cb70a76f.tar.gz
infinitytier-2436e22f46b97b281e5fcf861ba091c9cb70a76f.zip
More work on abstracting socket manager.
Diffstat (limited to 'node/Node.hpp')
-rw-r--r--node/Node.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/node/Node.hpp b/node/Node.hpp
index 259cdea2..1b338b22 100644
--- a/node/Node.hpp
+++ b/node/Node.hpp
@@ -36,6 +36,7 @@ namespace ZeroTier {
class EthernetTapFactory;
class RoutingTable;
+class SocketManager;
/**
* A ZeroTier One node
@@ -85,8 +86,7 @@ public:
* @param hp Home directory path or NULL for system-wide default for this platform
* @param tf Ethernet tap factory for platform network stack
* @param rt Routing table interface for platform network stack
- * @param udpPort UDP port or 0 to disable
- * @param tcpPort TCP port or 0 to disable
+ * @param sm Socket manager for physical network I/O
* @param resetIdentity If true, delete identity before starting and regenerate
* @param overrideRootTopology Override root topology with this dictionary (in string serialized format) and do not update (default: NULL for none)
*/
@@ -94,8 +94,7 @@ public:
const char *hp,
EthernetTapFactory *tf,
RoutingTable *rt,
- unsigned int udpPort,
- unsigned int tcpPort,
+ SocketManager *sm,
bool resetIdentity,
const char *overrideRootTopology = (const char *)0) throw();