From f2474da8648b95340456a2695fc2c90e043dabec Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 13 Dec 2007 16:22:02 +0000 Subject: added Synccommand / now connection updates work / sync is multi connection capable --- syncSocket.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'syncSocket.cpp') 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()); } } -- cgit v1.2.3