summaryrefslogtreecommitdiff
path: root/src/anyCtrSocket.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-04-12 12:38:51 +0000
committerChristian Pointner <equinox@anytun.org>2008-04-12 12:38:51 +0000
commit6f1742b504d08a097f220c5562c02e107dc7af83 (patch)
tree1e659f04f3fd225b4f714636c59e89ae83f8915b /src/anyCtrSocket.h
parentanytun-config can add more than one route at once (diff)
cleaned up confusing names for different options
Diffstat (limited to 'src/anyCtrSocket.h')
-rw-r--r--src/anyCtrSocket.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/anyCtrSocket.h b/src/anyCtrSocket.h
new file mode 100644
index 0000000..e32c45d
--- /dev/null
+++ b/src/anyCtrSocket.h
@@ -0,0 +1,27 @@
+#ifndef _MUXSOCKET_H
+#define _MUXSOCKET_H
+
+#include "Sockets/TcpSocket.h"
+#include "Sockets/ISocketHandler.h"
+
+#ifdef SOCKETS_NAMESPACE
+using namespace SOCKETS_NAMESPACE;
+#endif // SOCKETS_NAMESPACE
+
+
+class MuxSocket : public TcpSocket
+{
+public:
+ MuxSocket(ISocketHandler&);
+
+ void OnAccept();
+// void Init();
+
+// void InitSSLServer();
+
+private:
+ std::string filename_;
+};
+
+
+#endif // _SYNCSOCKET_H