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

Function SetKeepAlive

util/network/socket.cpp:307–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void SetKeepAlive(SOCKET s, bool value) {
308 CheckedSetSockOpt(s, SOL_SOCKET, SO_KEEPALIVE, (int)value, "keepalive");
309}
310
311void SetOutputBuffer(SOCKET s, unsigned value) {
312 CheckedSetSockOpt(s, SOL_SOCKET, SO_SNDBUF, value, "output buffer");

Callers 3

SetKeepAliveMethod · 0.85
OnConnectMethod · 0.85
SetKeepAliveMethod · 0.85

Calls 1

CheckedSetSockOptFunction · 0.85

Tested by

no test coverage detected