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

Method CheckSock

util/network/sock.h:389–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 }
388
389 void CheckSock() {
390 if ((SOCKET) * this == INVALID_SOCKET) {
391 ythrow TSystemError() << "no socket";
392 }
393 }
394
395 static ssize_t Check(ssize_t ret, const char* op = "") {
396 if (ret < 0) {

Callers 5

GetFreeFamilyPortMethod · 0.80
Y_UNIT_TESTFunction · 0.80
RunLocalDgramTestFunction · 0.80
RunInetStreamTestFunction · 0.80
RunLocalStreamTestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected