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

Method do_recv

net/kernel_socket.cpp:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 return photon::net::sendmsg(sockfd, message, flags, timeout);
176 }
177 virtual ssize_t do_recv(int sockfd, void* buf, size_t count, int flags, Timeout timeout) {
178 return photon::net::recv(sockfd, buf, count, flags, timeout);
179 }
180 virtual ssize_t do_recvmsg(int sockfd, struct msghdr* message, int flags, Timeout timeout) {
181 return photon::net::recvmsg(sockfd, message, flags, timeout);
182 }

Callers

nothing calls this directly

Calls 1

recvFunction · 0.85

Tested by

no test coverage detected