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

Method SendEof

src/cryptopp/socketft.cpp:559–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void SocketSender::SendEof()
560{
561 CRYPTOPP_ASSERT(!m_resultPending);
562 m_s.ShutDown(SD_SEND);
563 m_s.CheckAndHandleError("ResetEvent", ResetEvent(m_event));
564 m_s.CheckAndHandleError_int("WSAEventSelect", WSAEventSelect(m_s, m_event, FD_CLOSE));
565 m_resultPending = true;
566}
567
568bool SocketSender::EofSent()
569{

Callers 1

DoFlushMethod · 0.45

Calls 3

ShutDownMethod · 0.80
CheckAndHandleErrorMethod · 0.45

Tested by

no test coverage detected