diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-13 12:56:50 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-13 12:56:50 +0000 |
commit | cf7d42e10e3a2025df7857e180c07fcea404a05d (patch) | |
tree | 809e1c43e22d2fffc2210a3ae091a25a1342c5df /anytun.cpp | |
parent | codechanges in sha1authalgo (diff) |
splitten SyncSocket to SyncSocket and SyncClientSocket
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,6 +53,7 @@ #include "syncListenSocket.h" #include "syncSocket.h" +#include "syncClientSocket.h" #define PAYLOAD_TYPE_TAP 0x6558 #define PAYLOAD_TYPE_TUN 0x0800 @@ -221,7 +222,7 @@ void* syncConnector(void* p ) Param* param = reinterpret_cast<Param*>(p); SocketHandler h; - SyncSocket sock(h,param->cl); + SyncClientSocket sock(h,param->cl); // sock.EnableSSL(); sock.Open( param->opt.getRemoteSyncAddr(), param->opt.getRemoteSyncPort()); h.Add(&sock); |