diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-12-04 23:53:05 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-12-04 23:53:05 +0000 |
commit | 6da14489cebc2f3c7e6e8e2788ffd04046bd8533 (patch) | |
tree | 310347c2414c579da6a132c06abab5898d6b8195 /src/connection.h | |
parent | b31f3cc022a7681cdc79131b929e4c0372c441f9 (diff) | |
download | libbu++-6da14489cebc2f3c7e6e8e2788ffd04046bd8533.tar.gz libbu++-6da14489cebc2f3c7e6e8e2788ffd04046bd8533.tar.bz2 libbu++-6da14489cebc2f3c7e6e8e2788ffd04046bd8533.tar.xz libbu++-6da14489cebc2f3c7e6e8e2788ffd04046bd8533.zip |
Added the writeAllOutput function to Connection. It's handy.
Diffstat (limited to 'src/connection.h')
-rw-r--r-- | src/connection.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/connection.h b/src/connection.h index b5b121b..5d2d9bd 100644 --- a/src/connection.h +++ b/src/connection.h | |||
@@ -295,11 +295,16 @@ public: | |||
295 | */ | 295 | */ |
296 | void waitForInput( int nBytesIn, int nSec, int nUSec ); | 296 | void waitForInput( int nBytesIn, int nSec, int nUSec ); |
297 | 297 | ||
298 | /** Writes all data that is pending to the socket. | 298 | /** Writes some data that is pending to the socket. |
299 | *@returns True if all data was written succesfully, false otherwise. | 299 | *@returns True if all data was written succesfully, false otherwise. |
300 | */ | 300 | */ |
301 | bool writeOutput(); | 301 | bool writeOutput(); |
302 | 302 | ||
303 | /** | ||
304 | * Writes all data that is pending on the socekt. | ||
305 | */ | ||
306 | bool writeAllOutput(); | ||
307 | |||
303 | /** Determines if the connection has output waiting to go out. | 308 | /** Determines if the connection has output waiting to go out. |
304 | *@returns true if there is pending output, otherwise false. | 309 | *@returns true if there is pending output, otherwise false. |
305 | */ | 310 | */ |