From 2436e22f46b97b281e5fcf861ba091c9cb70a76f Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 21 Oct 2014 15:18:50 -0700 Subject: More work on abstracting socket manager. --- node/Node.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'node/Node.hpp') 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(); -- cgit v1.2.3