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

Method recv

src/utils/multicast_client.cpp:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92int MultiCastClient::recv (void *data, int size)
93{
94 int len = sizeof (socket_addr);
95 int res = recvfrom (client_socket, (char *)data, size, 0, (sockaddr *)&socket_addr, &len);
96 if (res == SOCKET_ERROR)
97 {
98 return -1;
99 }
100 return res;
101}
102
103void MultiCastClient::close ()
104{

Callers 15

read_threadMethod · 0.45
read_threadMethod · 0.45
create_adv_connectionMethod · 0.45
find_wifi_shieldMethod · 0.45
config_boardMethod · 0.45
stop_streamMethod · 0.45
read_threadMethod · 0.45
calc_timeMethod · 0.45
find_deviceMethod · 0.45
read_threadMethod · 0.45
read_threadMethod · 0.45
read_thread_impedanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected