summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 16:02:39 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 16:02:39 +0000
commit5786044f530cc37198b38a719843cac730519b8c (patch)
tree533771300c5b60cff0f82f1cac7ef1b8b4a775c9 /syncSocket.cpp
parentactivated keyderivation again (diff)
replay protection works again
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index 677deb5..2edd7ca 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -37,17 +37,17 @@ void SyncSocket::OnReconnect()
void SyncSocket::OnAccept()
{
- Send( Utility::GetLocalHostname() + "\n");
- Send( Utility::GetLocalAddress() + "\n");
- Send("Number of sockets in list : " + Utility::l2string(Handler().GetCount()) + "\n");
- Send("\n");
+// Send( Utility::GetLocalHostname() + "\n");
+// Send( Utility::GetLocalAddress() + "\n");
+// Send("Number of sockets in list : " + Utility::l2string(Handler().GetCount()) + "\n");
+// Send("\n");
if( ! cl_.empty())
{
std::ostringstream sout;
boost::archive::text_oarchive oa(sout);
const ConnectionParam conn = cl_.getConnection();
oa << conn;
- Send(sout.str()+"\n");
+ Send(sout.str());
}
}