MCPcopy Create free account
hub / github.com/LUX-Core/lux / Receive

Method Receive

src/cryptopp/socketft.cpp:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299unsigned int Socket::Receive(byte* buf, size_t bufLen, int flags)
300{
301 CRYPTOPP_ASSERT(m_s != INVALID_SOCKET);
302 int result = recv(m_s, (char *)buf, UnsignedMin(INT_MAX, bufLen), flags);
303 CheckAndHandleError_int("recv", result);
304 return result;
305}
306
307void Socket::ShutDown(int how)
308{

Callers

nothing calls this directly

Calls 2

UnsignedMinFunction · 0.85

Tested by

no test coverage detected