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

Method send

lib_acl_cpp/samples/udp/server/udp_sock.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135ssize_t udp_sock::send(const void *data, size_t len)
136{
137 return sendto(fd_, data, len, 0,
138 (struct sockaddr *) &sa_peer_, sa_peer_len_);
139}
140
141ssize_t udp_sock::recv(void *buf, size_t size)
142{

Callers 15

send_mailFunction · 0.45
runMethod · 0.45
mioFunction · 0.45
runMethod · 0.45
test_publishFunction · 0.45
runMethod · 0.45
forward_publishMethod · 0.45
handle_connackFunction · 0.45
handle_subackFunction · 0.45
handle_publishFunction · 0.45
handle_pingreqFunction · 0.45
mainFunction · 0.45

Calls 6

sendmmsgFunction · 0.85
get_npktMethod · 0.80
sendtoFunction · 0.50
sendFunction · 0.50
sendmsgFunction · 0.50
sizeMethod · 0.45

Tested by 1

test_publishFunction · 0.36