summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index b74b365..99f2afb 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -42,9 +42,9 @@ void SyncSocket::OnAccept()
Send("Number of sockets in list : " + Utility::l2string(Handler().GetCount()) + "\n");
Send("\n");
std::ostringstream sout;
-// boost::archive::text_oarchive oa(sout);
- ConnectionParam conn = cl_.getConnection();
-// oa << conn;
+ boost::archive::text_oarchive oa(sout);
+ const ConnectionParam conn = cl_.getConnection();
+ oa << conn;
Send(sout.str()+"\n");
}