Lines Matching refs:nWritten
2361 int nWritten; in osl_sendSocket() local
2374 nWritten = send(pSocket->m_Socket, in osl_sendSocket()
2378 } while ( nWritten < 0 && errno == EINTR ); in osl_sendSocket()
2381 if ( nWritten < 0 ) in osl_sendSocket()
2384 OSL_TRACE("osl_sendSocket failed : %i '%s'",nWritten,strerror(errno)); in osl_sendSocket()
2386 else if ( nWritten == 0 ) in osl_sendSocket()
2388 OSL_TRACE("osl_sendSocket failed : %i '%s'",nWritten,"EOL"); in osl_sendSocket()
2391 return nWritten; in osl_sendSocket()
2403 int nWritten; in osl_sendToSocket() local
2425 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket()
2432 if ( nWritten < 0 ) in osl_sendToSocket()
2435 OSL_TRACE("osl_sendToSocket failed : %i '%s'",nWritten,strerror(errno)); in osl_sendToSocket()
2437 else if ( nWritten == 0 ) in osl_sendToSocket()
2439 OSL_TRACE("osl_sendToSocket failed : %i '%s'",nWritten,"EOL"); in osl_sendToSocket()
2442 return nWritten; in osl_sendToSocket()