From bd865cee5f89116c1f054cd0e5c275e97c2d0a9b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 2 Jul 2007 20:35:44 +0000 Subject: The list has an isEmpty funcion, and the socket may have a new read function soon, check it out...later... --- src/socket.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 5a3097c..e567061 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -174,6 +174,10 @@ size_t Bu::Socket::read( void *pBuf, size_t nBytes ) return nRead; } +//size_t Bu::Socket::read( void *pBuf, size_t nBytes, uint32_t nTimeout ) +//{ +//} + size_t Bu::Socket::write( const void *pBuf, size_t nBytes ) { int nWrote = TEMP_FAILURE_RETRY( ::write( nSocket, pBuf, nBytes ) ); -- cgit v1.2.3