aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp4
1 files changed, 4 insertions, 0 deletions
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 )
174 return nRead; 174 return nRead;
175} 175}
176 176
177//size_t Bu::Socket::read( void *pBuf, size_t nBytes, uint32_t nTimeout )
178//{
179//}
180
177size_t Bu::Socket::write( const void *pBuf, size_t nBytes ) 181size_t Bu::Socket::write( const void *pBuf, size_t nBytes )
178{ 182{
179 int nWrote = TEMP_FAILURE_RETRY( ::write( nSocket, pBuf, nBytes ) ); 183 int nWrote = TEMP_FAILURE_RETRY( ::write( nSocket, pBuf, nBytes ) );