Lines Matching refs:nRead
2310 int nRead; in osl_receiveSocket() local
2323 nRead = recv(pSocket->m_Socket, in osl_receiveSocket()
2327 } while ( nRead < 0 && errno == EINTR ); in osl_receiveSocket()
2329 if ( nRead < 0 ) in osl_receiveSocket()
2332 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,strerror(errno)); in osl_receiveSocket()
2334 else if ( nRead == 0 ) in osl_receiveSocket()
2336 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,"EOL"); in osl_receiveSocket()
2339 return nRead; in osl_receiveSocket()
2352 int nRead; in osl_receiveFromSocket() local
2370 nRead = recvfrom(pSocket->m_Socket, in osl_receiveFromSocket()
2377 if ( nRead < 0 ) in osl_receiveFromSocket()
2380 OSL_TRACE("osl_receiveFromSocket failed : %i '%s'",nRead,strerror(errno)); in osl_receiveFromSocket()
2382 else if ( nRead == 0 ) in osl_receiveFromSocket()
2384 OSL_TRACE("osl_receiveSocket failed : %i '%s'",nRead,"EOL"); in osl_receiveFromSocket()
2387 return nRead; in osl_receiveFromSocket()