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

Function send

net/basic_socket.cpp:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172ssize_t send(int fd, const void *buf, size_t count, int flags, Timeout timeout) {
173 return DOIO_ONCE(::send(fd, buf, count, flags), wait_for_fd_writable(fd, timeout));
174}
175
176ssize_t sendmsg(int fd, const struct msghdr* msg, int flags, Timeout timeout) {
177 return DOIO_ONCE(::sendmsg(fd, msg, flags), wait_for_fd_writable(fd, timeout));

Callers 15

do_sendMethod · 0.85
do_sendMethod · 0.85
sendMethod · 0.85
send_nFunction · 0.85
writeFunction · 0.85
sendMethod · 0.85
writeMethod · 0.85
writevMethod · 0.85
sendMethod · 0.85
writeMethod · 0.85
sendMethod · 0.85
sendMethod · 0.85

Calls 1

wait_for_fd_writableFunction · 0.50

Tested by

no test coverage detected