Searched refs:bytesSent (Results 1 – 2 of 2) sorted by relevance
89 ssize_t bytesSent = send(mSockFd, data, length, 0); in sendMessage() local90 if (bytesSent < 0) { in sendMessage()92 } else if (bytesSent == 0) { in sendMessage()94 } else if (static_cast<size_t>(bytesSent) != length) { in sendMessage()96 length, bytesSent); in sendMessage()
231 ssize_t bytesSent = send(clientSocket, data, length, 0); in sendToClientSocket() local232 if (bytesSent < 0) { in sendToClientSocket()235 } else if (bytesSent == 0) { in sendToClientSocket()243 return (bytesSent > 0); in sendToClientSocket()