diff options
author | Pixel <Pixel> | 2002-01-10 13:46:41 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-01-10 13:46:41 +0000 |
commit | e0bc4e1a1263eaeaeeeacd306eee6cf01aa9e87c (patch) | |
tree | 24f5b17ac0c8f25d7a71c6cf9031418a8ccb8a38 /lib/Socket.cc | |
parent | 14551221587305fd303c96e10baf13bd5494684b (diff) |
wtf?
Diffstat (limited to 'lib/Socket.cc')
-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; } |