summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index dbb1dfb..b74b365 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -1,12 +1,14 @@
-
-#include "Sockets/Utility.h"
-#include "syncSocket.h"
-//#include <boost/archive/text_oarchive.hpp>
-//#include <boost/archive/text_iarchive.hpp>
#include <sstream>
#include <iostream>
#include <string>
-#include "connectionParam.h"
+
+#include <boost/archive/text_oarchive.hpp>
+#include <boost/archive/text_iarchive.hpp>
+
+
+//#include "connectionParam.h"
+#include "Sockets/Utility.h"
+#include "syncSocket.h"
SyncSocket::SyncSocket(ISocketHandler& h,ConnectionList & cl)
:TcpSocket(h),cl_(cl)
@@ -42,7 +44,7 @@ void SyncSocket::OnAccept()
std::ostringstream sout;
// boost::archive::text_oarchive oa(sout);
ConnectionParam conn = cl_.getConnection();
- // oa << conn;
+// oa << conn;
Send(sout.str()+"\n");
}