summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-13 16:22:02 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-13 16:22:02 +0000
commitf2474da8648b95340456a2695fc2c90e043dabec (patch)
tree08e29164bde8fb4a98b2720f3dcb75732905ed87 /syncSocket.cpp
parentadded mux_type (diff)
added Synccommand / now connection updates work / sync is multi connection capable
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index c1ce2f2..6476441 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -9,6 +9,7 @@
//#include "connectionParam.h"
#include "Sockets/Utility.h"
#include "syncSocket.h"
+#include "syncCommand.h"
#include "buffer.h"
//#include "log.h"
@@ -30,8 +31,8 @@ void SyncSocket::OnAccept()
{
std::ostringstream sout;
boost::archive::text_oarchive oa(sout);
- const ConnectionParam conn = cl_.getConnection();
- oa << conn;
+ const SyncCommand scom(cl_,0);
+ oa << scom;
Send(sout.str());
}
}