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

Method recv

net/pooled_socket.cpp:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 iovector_view((struct iovec*)iov, iovcnt).sum());
82 }
83 ssize_t recv(void* buf, size_t count, int flags = 0) override {
84 FORWARD_SOCK_ACT(less_equal, recv(buf, count, flags), count);
85 }
86 ssize_t recv(const struct iovec* iov, int iovcnt, int flags = 0) override {
87 FORWARD_SOCK_ACT(less_equal, recv(iov, iovcnt, flags),
88 iovector_view((struct iovec*)iov, iovcnt).sum());

Callers

nothing calls this directly

Calls 3

recvFunction · 0.85
iovector_viewClass · 0.50
sumMethod · 0.45

Tested by

no test coverage detected