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

Method send

src/utils/multicast_server.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60int MultiCastServer::send (void *data, int size)
61{
62 int res = ::sendto (server_socket, (char *)data, size, 0, (struct sockaddr *)&server_addr,
63 sizeof (server_addr));
64 if (res == SOCKET_ERROR)
65 {
66 return -1;
67 }
68 return res;
69}
70
71void MultiCastServer::close ()
72{

Callers 13

thread_workerMethod · 0.45
thread_workerMethod · 0.45
create_adv_connectionMethod · 0.45
send_connect_msgMethod · 0.45
send_control_msgMethod · 0.45
ping_threadMethod · 0.45
find_wifi_shieldMethod · 0.45
config_boardMethod · 0.45
start_streamMethod · 0.45
stop_streamMethod · 0.45
calc_timeMethod · 0.45
find_deviceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected