MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / net_send

Function net_send

modules/xmpp/network.c:132–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132int net_send(int fd, const char *buf, int len)
133{
134 const char *p = buf;
135 int res;
136
137 do {
138 res = send(fd, p, len, 0);
139 if (res <= 0)
140 return res;
141 len -= res;
142 p += res;
143 } while (len);
144
145 return (p - buf);
146}
147
148int net_printf(int fd, char *format, ...)
149{

Callers 4

net_printfFunction · 0.85
xode_sendFunction · 0.85
xode_sendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected