summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-12-10 19:33:27 +0000
committerChristian Pointner <equinox@anytun.org>2007-12-10 19:33:27 +0000
commitc31f7578c50c4b80d5e24c67b80d74fea2fc762f (patch)
tree89089900db4cd8d3ff6bbe986005abc1ec8c0f13 /syncSocket.cpp
parentadded synclistensocket (diff)
some cleanups
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");
}