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

Method do_send

net/kernel_socket.cpp:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 uint64_t m_timeout = -1;
170
171 virtual ssize_t do_send(int sockfd, const void* buf, size_t count, int flags, Timeout timeout) {
172 return photon::net::send(sockfd, buf, count, flags, timeout);
173 }
174 virtual ssize_t do_sendmsg(int sockfd, const struct msghdr* message, int flags, Timeout timeout) {
175 return photon::net::sendmsg(sockfd, message, flags, timeout);
176 }

Callers

nothing calls this directly

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected