From 22914644fb62bc1a9d49eec50a10f2870dde1d0b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 28 May 2009 16:23:38 +0000 Subject: Added some helpers to the Bu::Cache::Ptr, you can clear them now, and cast to bool to see if they're bound, you still have to use isValid to see if they're valid or not. Also, fixed a bug in libbu++ that's been around for a while, apparently, in the Bu::Socket code. Non-blocking reading wasn't working correctly, when data wasn't waiting on the line, it would return immediately with zero bytes read. That was sure stupid. This should fix a lot of things. --- src/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/socket.h') diff --git a/src/socket.h b/src/socket.h index f12f79c..bef0e9c 100644 --- a/src/socket.h +++ b/src/socket.h @@ -104,6 +104,7 @@ namespace Bu int nSocket; #endif bool bActive; + bool bBlocking; FString sReadBuf; FString sAddress; }; -- cgit v1.2.3