diff options
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()); |