MCPcopy Create free account
hub / github.com/catboost/catboost / IsNotSocketClosedByOtherSide

Function IsNotSocketClosedByOtherSide

util/network/socket.cpp:530–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530bool IsNotSocketClosedByOtherSide(SOCKET s) {
531 return HasSocketDataToRead(s) != ESocketReadStatus::SocketClosed;
532}
533
534ESocketReadStatus HasSocketDataToRead(SOCKET s) {
535 const int r = MsgPeek(s);

Callers 5

IsOpenMethod · 0.85
~TConnectionMethod · 0.85
ConnectMethod · 0.85
PurgeCacheMethod · 0.85
CanceledMethod · 0.85

Calls 1

HasSocketDataToReadFunction · 0.85

Tested by

no test coverage detected