MCPcopy Create free account
hub / github.com/apache/trafficserver / send

Method send

include/iocore/eventsystem/UnixSocket.h:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218inline int
219UnixSocket::send(void const *buf, int size, int flags) const
220{
221 int r;
222 do {
223 if (unlikely((r = ::send(this->fd, static_cast<char const *>(buf), size, flags)) < 0)) {
224 r = -errno;
225 }
226 } while (r == -EINTR);
227 return r;
228}
229
230inline int
231UnixSocket::sendto(void const *buf, int len, int flags, struct sockaddr const *to, int tolen) const

Callers 1

invokeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected