| 110 | return DOIO_LOOP(do_send(fd, buf, count, MSG_NOSIGNAL, timeout), BufStep((void*&)buf, count)); |
| 111 | } |
| 112 | ssize_t writev(const iovec* iov, int iovcnt) override { |
| 113 | SmartCloneIOV<8> clone(iov, iovcnt); |
| 114 | iovector_view view(clone.ptr, iovcnt); |
| 115 | Timeout timeout(m_timeout); |
| 116 | return DOIO_LOOP(do_sendmsg(fd, tmp_msg_hdr(view), MSG_NOSIGNAL, timeout), BufStepV(view)); |
| 117 | } |
| 118 | ssize_t recv(void* buf, size_t count, int flags = 0) override { |
| 119 | return do_recv(fd, buf, count, flags, m_timeout); |
| 120 | } |
nothing calls this directly
no test coverage detected