Searched refs:readlen (Results 1 – 1 of 1) sorted by relevance
36 auto readlen = read(sockfd, buffer, sizeof(buffer)); in ForwardSocketToFile() local37 if (readlen < 0) { in ForwardSocketToFile()40 } else if (readlen > 0) { in ForwardSocketToFile()51 auto writelen = write(tempFileFd, buffer, readlen); in ForwardSocketToFile()56 } else if (writelen != readlen) { in ForwardSocketToFile()58 << "buffer: " << buffer << ", length: " << readlen in ForwardSocketToFile()