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

Method recv

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

Source from the content-addressed store, hash-verified

139}
140
141ssize_t udp_sock::recv(void *buf, size_t size)
142{
143 sa_peer_len_ = sizeof(sa_peer_);
144 return recvfrom(fd_, buf, size, 0,
145 (struct sockaddr *) &sa_peer_, &sa_peer_len_);
146}
147
148int udp_sock::send(udp_pkts& pkts)
149{

Callers 1

mioFunction · 0.80

Calls 7

recvmmsgFunction · 0.85
set_npktMethod · 0.80
beginMethod · 0.80
recvfromFunction · 0.50
recvFunction · 0.50
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected