summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPixel <Pixel>2002-01-10 13:46:41 +0000
committerPixel <Pixel>2002-01-10 13:46:41 +0000
commite0bc4e1a1263eaeaeeeacd306eee6cf01aa9e87c (patch)
tree24f5b17ac0c8f25d7a71c6cf9031418a8ccb8a38 /lib
parent14551221587305fd303c96e10baf13bd5494684b (diff)
wtf?
Diffstat (limited to 'lib')
-rw-r--r--lib/Socket.cc2
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;
}