Lines Matching refs:bytesReceived
517 ssize_t bytesReceived = recv(fSocket, buffer, length, flags); in Receive() local
518 if (bytesReceived < 0) in Receive()
521 return bytesReceived; in Receive()
529 ssize_t bytesReceived = Receive(chunk.Data(), length, flags); in Receive() local
530 if (bytesReceived > 0) in Receive()
531 buffer.AppendData(chunk.Data(), bytesReceived); in Receive()
532 return bytesReceived; in Receive()
549 ssize_t bytesReceived = recvfrom(fSocket, buffer, length, flags, in ReceiveFrom() local
551 if (bytesReceived < 0) in ReceiveFrom()
556 return bytesReceived; in ReceiveFrom()
565 ssize_t bytesReceived = ReceiveFrom(chunk.Data(), length, address, flags); in ReceiveFrom() local
566 if (bytesReceived > 0) in ReceiveFrom()
567 buffer.AppendData(chunk.Data(), bytesReceived); in ReceiveFrom()
568 return bytesReceived; in ReceiveFrom()