MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / send

Method send

tools/streamer_recorder/PracticalSocket.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void CommunicatingSocket::send(const void *buffer, int bufferLen)
200 throw(SocketException) {
201 if (::send(sockDesc, (raw_type *) buffer, bufferLen, 0) < 0) {
202 throw SocketException("Send failed (send())", true);
203 }
204}
205
206int CommunicatingSocket::recv(void *buffer, int bufferLen)
207 throw(SocketException) {

Callers

nothing calls this directly

Calls 1

SocketExceptionClass · 0.85

Tested by

no test coverage detected