summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-12 15:43:21 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-12 15:43:21 +0000
commita5c965880da59f2af8a5f3ede2d97049983280a1 (patch)
tree14ec67391d6880c5c32a14c141ed93678573f480 /syncSocket.cpp
parentadded ctags target to makefile (diff)
added printing of sync information to stdout
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index 2edd7ca..1fe19a9 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -51,6 +51,13 @@ void SyncSocket::OnAccept()
}
}
+void SyncSocket::OnRawData(const char *buf,size_t len)
+{
+ for(size_t index=0;index<len;index++)
+ {
+ std::cout << buf[index];
+ }
+}
//void StatusSocket::InitSSLServer()
//{
// InitializeContext("server.pem", "keypwd", SSLv23_method());