From e0bc4e1a1263eaeaeeeacd306eee6cf01aa9e87c Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 10 Jan 2002 13:46:41 +0000 Subject: wtf? --- lib/Socket.cc | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3