Searched refs:bytesRead (Results 1 – 3 of 3) sorted by relevance
247 ssize_t bytesRead = ::recvmsg(mSocketFd, &header, 0); in receiveFromInterface() local248 if (bytesRead < 0) { in receiveFromInterface()251 message->setSize(static_cast<size_t>(bytesRead)); in receiveFromInterface()281 ssize_t bytesRead = ::readv(mSocketFd, iov, 3); in receiveRawUdp() local282 if (bytesRead < 0) { in receiveRawUdp()285 if (static_cast<size_t>(bytesRead) < sizeof(ip) + sizeof(udp)) { in receiveRawUdp()295 message->setSize(bytesRead - sizeof(ip) - sizeof(udp)); in receiveRawUdp()
87 ssize_t bytesRead = recvfrom(fd, buffer, sizeof(buffer), 0, in runServer() local90 if (bytesRead < 0) { in runServer()97 } else if (bytesRead == 0) { in runServer()103 static_cast<int>(bytesRead), buffer); in runServer()
98 size_t bytesRead() const { return m_read; } in bytesRead() function