diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-15 16:32:55 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-15 16:32:55 -0700 |
commit | fb22ef053b7e73d62789e6c9816cbb918638ae85 (patch) | |
tree | 196a091fb419ab0f1e43be6f28a746af86b2c906 /control/IpcListener.hpp | |
parent | 4ba426934439ac37e63e30f53a93a7d765f5cbba (diff) | |
download | infinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.tar.gz infinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.zip |
Move rest of NodeControl stuff out of node/ and into control/
Diffstat (limited to 'control/IpcListener.hpp')
-rw-r--r-- | control/IpcListener.hpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/control/IpcListener.hpp b/control/IpcListener.hpp index e5872b99..e7346766 100644 --- a/control/IpcListener.hpp +++ b/control/IpcListener.hpp @@ -36,14 +36,6 @@ #include <string> #include <stdexcept> -#ifdef __WINDOWS__ -#include <WinSock2.h> -#include <Windows.h> -#define ZT_IPC_ENDPOINT_BASE "\\\\.\\pipe\\ZeroTierOne-" -#else -#define ZT_IPC_ENDPOINT_BASE "/tmp/.ZeroTierOne-" -#endif - namespace ZeroTier { /** @@ -67,6 +59,7 @@ public: * some kind of actor model or something if it gets too unweildy. But for now the * use cases are simple enough that it's not too bad. * + * @param IPC endpoint name (OS-specific) * @param commandHandler Function to call for each command * @param arg First argument to pass to handler * @throws std::runtime_error Unable to bind to endpoint |