diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-10-24 00:57:18 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-10-24 00:57:18 +0000 |
| commit | d1770f567321f8b01185cdf974718aea89669a37 (patch) | |
| tree | a76ddcb795b99ecd880824c06f505101bf4388a1 /src/socket.h | |
| parent | ae5ea621f06a645dbfcf454e9b8f39a99dc8e822 (diff) | |
| download | libbu++-d1770f567321f8b01185cdf974718aea89669a37.tar.gz libbu++-d1770f567321f8b01185cdf974718aea89669a37.tar.bz2 libbu++-d1770f567321f8b01185cdf974718aea89669a37.tar.xz libbu++-d1770f567321f8b01185cdf974718aea89669a37.zip | |
Corrected a few issues that cropped up when using the Bu::Socket without a
Client for buffering. The Bu::Client has also been made a little more reliable.
The logger should get a few more tweaks, but it works fine for now, the hex dump
could stand another tweak or two.
Diffstat (limited to '')
| -rw-r--r-- | src/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h index 95271f8..96cfeb9 100644 --- a/src/socket.h +++ b/src/socket.h | |||
| @@ -25,6 +25,8 @@ namespace Bu | |||
| 25 | virtual size_t read( void *pBuf, size_t nBytes, | 25 | virtual size_t read( void *pBuf, size_t nBytes, |
| 26 | uint32_t nSec, uint32_t nUSec=0 ); | 26 | uint32_t nSec, uint32_t nUSec=0 ); |
| 27 | virtual size_t write( const void *pBuf, size_t nBytes ); | 27 | virtual size_t write( const void *pBuf, size_t nBytes ); |
| 28 | virtual size_t write( const void *pBuf, size_t nBytes, | ||
| 29 | uint32_t nSec, uint32_t nUSec=0 ); | ||
| 28 | 30 | ||
| 29 | virtual long tell(); | 31 | virtual long tell(); |
| 30 | virtual void seek( long offset ); | 32 | virtual void seek( long offset ); |
