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

Method recv

src/utils/socket_client_udp.cpp:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220int SocketClientUDP::recv (void *data, int size)
221{
222 int res = recvfrom (connect_socket, (char *)data, size, 0, NULL, 0);
223 if (res == SOCKET_ERROR)
224 {
225 return -1;
226 }
227 return res;
228}
229
230void SocketClientUDP::close ()
231{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected