From 861e5bd7d3df941685f048d7039029b83ec87cb9 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Jan 2009 07:55:02 +0000 Subject: Hey, that's better. The server now idles the same, but sends data uber-fast! --- src/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 954f134..2cd700b 100644 --- a/src/client.h +++ b/src/client.h @@ -64,6 +64,8 @@ namespace Bu void onMessage( const Bu::FString &sMsg ); + bool hasOutput() { return !sWriteBuf.isEmpty(); } + private: Bu::Socket *pSocket; Bu::Protocol *pProto; -- cgit v1.2.3