-
- ssize_t sent_length= memcached_io_writev(ptr, vector, count, with_flush);
-
- size_t command_length= 0;
- for (uint32_t x= 0; x < count; ++x, vector++)
- {
- command_length+= vector->length;
- }
-
- if (sent_length == -1 or size_t(sent_length) != command_length)
- {
- rc= MEMCACHED_WRITE_FAILURE;
- WATCHPOINT_ERROR(rc);
- WATCHPOINT_ERRNO(errno);
- }
- else if ((ptr->root->flags.no_reply) == 0)