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

Method Send

src/cryptopp/socketft.cpp:291–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291unsigned int Socket::Send(const byte* buf, size_t bufLen, int flags)
292{
293 CRYPTOPP_ASSERT(m_s != INVALID_SOCKET);
294 int result = send(m_s, (const char *)buf, UnsignedMin(INT_MAX, bufLen), flags);
295 CheckAndHandleError_int("send", result);
296 return result;
297}
298
299unsigned int Socket::Receive(byte* buf, size_t bufLen, int flags)
300{

Callers

nothing calls this directly

Calls 2

UnsignedMinFunction · 0.85

Tested by

no test coverage detected