From 62c5dcfa2dd117fd7b388d13ab8f33c5867a9636 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 11 Dec 2007 12:31:46 +0000 Subject: fixed many sync things fixed warning (multiple key) --- syncSocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'syncSocket.cpp') 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"); } -- cgit v1.2.3