Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
135
ssize_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
141
ssize_t udp_sock::recv(void *buf, size_t size)
142
{
Callers
15
send_mail
Function · 0.45
run
Method · 0.45
mio
Function · 0.45
run
Method · 0.45
test_publish
Function · 0.45
run
Method · 0.45
forward_publish
Method · 0.45
handle_connack
Function · 0.45
handle_suback
Function · 0.45
handle_publish
Function · 0.45
handle_pingreq
Function · 0.45
main
Function · 0.45
Calls
6
sendmmsg
Function · 0.85
get_npkt
Method · 0.80
sendto
Function · 0.50
send
Function · 0.50
sendmsg
Function · 0.50
size
Method · 0.45
Tested by
1
test_publish
Function · 0.36