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

Method send

src/utils/socket_client_tcp.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62int SocketClientTCP::send (const char *data, int size)
63{
64 int len = sizeof (socket_addr);
65 int res = ::send (connect_socket, data, size, 0);
66 if (res == SOCKET_ERROR)
67 {
68 return -1;
69 }
70 return res;
71}
72
73int SocketClientTCP::recv (void *data, int size)
74{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected