diff options
-rw-r--r-- | lib/Socket.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Socket.cc b/lib/Socket.cc index 9883898..1d7314b 100644 --- a/lib/Socket.cc +++ b/lib/Socket.cc @@ -34,10 +34,12 @@ bool Socket::IsListening(void) { } bool Socket::CanRead(void) { + cerr << "CanRead: connected = " << connected << "; readclosed = " << readclosed << endl; return connected && !readclosed; } bool Socket::CanWrite(void) { + cerr << "CanWrite: connected = " << connected << "; writeclosed = " << writeclosed << endl; return connected && !writeclosed; } |