Lines Matching refs:nRead
2272 int nRead; in osl_receiveSocket() local
2285 nRead = recv(pSocket->m_Socket, in osl_receiveSocket()
2289 } while ( nRead < 0 && errno == EINTR ); in osl_receiveSocket()
2291 if ( nRead < 0 ) in osl_receiveSocket()
2294 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,strerror(errno)); in osl_receiveSocket()
2296 else if ( nRead == 0 ) in osl_receiveSocket()
2298 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,"EOL"); in osl_receiveSocket()
2301 return nRead; in osl_receiveSocket()
2314 int nRead; in osl_receiveFromSocket() local
2332 nRead = recvfrom(pSocket->m_Socket, in osl_receiveFromSocket()
2339 if ( nRead < 0 ) in osl_receiveFromSocket()
2342 OSL_TRACE("osl_receiveFromSocket failed : %i '%s'",nRead,strerror(errno)); in osl_receiveFromSocket()
2344 else if ( nRead == 0 ) in osl_receiveFromSocket()
2346 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,"EOL"); in osl_receiveFromSocket()
2349 return nRead; in osl_receiveFromSocket()