Searched refs:sent_len (Results 1 – 2 of 2) sorted by relevance
18 int sent_len = 0; in WriteBlock() local23 memcpy(buffer + 2, static_cast<const char*>(str) + sent_len, send_len); in WriteBlock()28 sent_len += send_len; in WriteBlock()
791 size_t sent_len = 0; in ReadCharsFromTcpPort() local793 while (sent_len < name_len) { in ReadCharsFromTcpPort()794 ssize_t sent_now = send(sockfd, name + sent_len, name_len - sent_len, 0); in ReadCharsFromTcpPort()801 sent_len += sent_now; in ReadCharsFromTcpPort()