diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-12 15:43:21 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-12 15:43:21 +0000 |
commit | a5c965880da59f2af8a5f3ede2d97049983280a1 (patch) | |
tree | 14ec67391d6880c5c32a14c141ed93678573f480 /syncSocket.cpp | |
parent | added ctags target to makefile (diff) |
added printing of sync information to stdout
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r-- | syncSocket.cpp | 7 |
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()); |