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

Function SetZeroLinger

util/network/socket.cpp:303–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void SetZeroLinger(SOCKET s) {
304 SetLinger(s, 1, 0);
305}
306
307void SetKeepAlive(SOCKET s, bool value) {
308 CheckedSetSockOpt(s, SOL_SOCKET, SO_KEEPALIVE, (int)value, "keepalive");

Callers 2

AllocateMoreMethod · 0.85
SetZeroLingerMethod · 0.85

Calls 1

SetLingerFunction · 0.85

Tested by

no test coverage detected