MCPcopy Create free account
hub / github.com/acl-dev/acl / udp_send

Function udp_send

lib_acl/samples/udp/udp.cpp:181–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181int udp_send(SOCK_UDP *sock, const void *data, size_t len)
182{
183 ssize_t ret = sendto(sock->fd, data, len, 0,
184 (struct sockaddr *) &sock->sa_peer, sock->sa_peer_len);
185 return ret;
186}
187
188void udp_pkt_set_buf(SOCK_PKT *pkt, char *buf, size_t len)
189{

Callers 2

sioFunction · 0.85
sioFunction · 0.85

Calls 1

sendtoFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…