summaryrefslogtreecommitdiff
path: root/src/syncSocket.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-10-19 20:06:14 +0000
committerOthmar Gsenger <otti@anytun.org>2008-10-19 20:06:14 +0000
commit7ec2d1c53b753238509bf7a89587509305b9216d (patch)
tree2e81d3fbd6b2a515f71449a2a16b2c69ecf4ddad /src/syncSocket.h
parentswitched from PracticalSocket to libasio (diff)
move to asio socket libary for sync
bugs / todos: * new connections don't sync * anyrtpproxy broken * anytun-controlld doesn't send data
Diffstat (limited to 'src/syncSocket.h')
-rw-r--r--src/syncSocket.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/syncSocket.h b/src/syncSocket.h
deleted file mode 100644
index d7f4c37..0000000
--- a/src/syncSocket.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * anytun
- *
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
- *
- * Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl,
- * Christian Pointner <satp@wirdorange.org>
- *
- * This file is part of Anytun.
- *
- * Anytun is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
- *
- * Anytun is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with anytun. If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef _SYNCSOCKET_H
-#define _SYNCSOCKET_H
-
-#include "Sockets/TcpSocket.h"
-#include "Sockets/ISocketHandler.h"
-#include "connectionList.h"
-
-#ifdef SOCKETS_NAMESPACE
-using namespace SOCKETS_NAMESPACE;
-#endif // SOCKETS_NAMESPACE
-
-class SyncSocket : public TcpSocket
-{
-public:
- SyncSocket(ISocketHandler&,ConnectionList & );
-
- void OnAccept();
-// void Init();
-
-// void InitSSLServer();
-private:
- ConnectionList & cl_;
-};
-
-
-#endif // _SYNCSOCKET_H