diff options
-rw-r--r-- | socket_channel.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/socket_channel.cpp b/socket_channel.cpp index fa5c882..e77c6cf 100644 --- a/socket_channel.cpp +++ b/socket_channel.cpp @@ -48,12 +48,7 @@ std::tuple<int, buffer> Channel::read() &address.sockAddr, // Address &address.addrSize); // Address Length - if (readDataLen > 0) // Data read from the socket - { - std::cout << "I> Channel::Read : DataIn Fd[" << sockfd << "] Req[" - << bufferSize << "] Recv[" << readDataLen << "]\n"; - } - else if (readDataLen == 0) // Peer has performed an orderly shutdown + if (readDataLen == 0) // Peer has performed an orderly shutdown { std::cerr << "E> Channel::Read : Connection Closed Fd[" << sockfd << "]\n"; |