MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / send

Method send

net/kernel_socket.cpp:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 return do_recvmsg(fd, tmp_msg_hdr(iov, iovcnt), flags, m_timeout);
123 }
124 ssize_t send(const void* buf, size_t count, int flags = 0) override {
125 return do_send(fd, buf, count, flags | MSG_NOSIGNAL, m_timeout);
126 }
127 ssize_t send(const iovec* iov, int iovcnt, int flags = 0) override {
128 return do_sendmsg(fd, tmp_msg_hdr(iov, iovcnt), flags | MSG_NOSIGNAL, m_timeout);
129 }

Callers

nothing calls this directly

Calls 1

tmp_msg_hdrClass · 0.70

Tested by

no test coverage detected