Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
303
void SetZeroLinger(SOCKET s) {
304
SetLinger(s, 1, 0);
305
}
306
307
void SetKeepAlive(SOCKET s, bool value) {
308
CheckedSetSockOpt(s, SOL_SOCKET, SO_KEEPALIVE, (int)value,
"keepalive"
);
Callers
2
AllocateMore
Method · 0.85
SetZeroLinger
Method · 0.85
Calls
1
SetLinger
Function · 0.85
Tested by
no test coverage detected