| 493 | uint32_t m_num_calls = 0; |
| 494 | |
| 495 | ssize_t do_send(int sockfd, const void* buf, size_t count, int flags, Timeout timeout) override { |
| 496 | struct iovec iov{const_cast<void*>(buf), count}; |
| 497 | return do_sendmsg(sockfd, tmp_msg_hdr(&iov, 1), flags, timeout); |
| 498 | } |
| 499 | |
| 500 | ssize_t do_sendmsg(int sockfd, const struct msghdr* message, int flags, Timeout timeout) override { |
| 501 | ssize_t n = photon::net::sendmsg(sockfd, message, flags | ZEROCOPY_FLAG, timeout); |
nothing calls this directly
no test coverage detected