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

Method send

net/pooled_socket.cpp:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 iovector_view((struct iovec*)iov, iovcnt).sum());
89 }
90 ssize_t send(const void* buf, size_t count, int flags = 0) override {
91 FORWARD_SOCK_ACT(less, send(buf, count, flags), count);
92 }
93 ssize_t send(const struct iovec* iov, int iovcnt, int flags = 0) override {
94 FORWARD_SOCK_ACT(less, send(iov, iovcnt, flags),
95 iovector_view((struct iovec*)iov, iovcnt).sum());

Callers

nothing calls this directly

Calls 3

sendFunction · 0.85
iovector_viewClass · 0.50
sumMethod · 0.45

Tested by

no test coverage detected