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

Method recv

tools/streamer_recorder/PracticalSocket.cpp:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206int CommunicatingSocket::recv(void *buffer, int bufferLen)
207 throw(SocketException) {
208 int rtn;
209 if ((rtn = ::recv(sockDesc, (raw_type *) buffer, bufferLen, 0)) < 0) {
210 throw SocketException("Received failed (recv())", true);
211 }
212
213 return rtn;
214}
215
216string CommunicatingSocket::getForeignAddress()
217 throw(SocketException) {

Callers 1

runFunction · 0.80

Calls 1

SocketExceptionClass · 0.85

Tested by

no test coverage detected