Lines Matching refs:nWritten
2399 int nWritten; in osl_sendSocket() local
2412 nWritten = send(pSocket->m_Socket, in osl_sendSocket()
2416 } while ( nWritten < 0 && errno == EINTR ); in osl_sendSocket()
2419 if ( nWritten < 0 ) in osl_sendSocket()
2422 OSL_TRACE("osl_sendSocket failed : %i '%s'",nWritten,strerror(errno)); in osl_sendSocket()
2424 else if ( nWritten == 0 ) in osl_sendSocket()
2426 OSL_TRACE("osl_sendSocket failed : %i '%s'",nWritten,"EOL"); in osl_sendSocket()
2429 return nWritten; in osl_sendSocket()
2441 int nWritten; in osl_sendToSocket() local
2463 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket()
2470 if ( nWritten < 0 ) in osl_sendToSocket()
2473 OSL_TRACE("osl_sendToSocket failed : %i '%s'",nWritten,strerror(errno)); in osl_sendToSocket()
2475 else if ( nWritten == 0 ) in osl_sendToSocket()
2477 OSL_TRACE("osl_sendToSocket failed : %i '%s'",nWritten,"EOL"); in osl_sendToSocket()
2480 return nWritten; in osl_sendToSocket()