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

Function SetSocketPriority

util/network/socket.cpp:431–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void SetSocketPriority(SOCKET s, int priority) {
432#if defined(SO_PRIORITY)
433 CheckedSetSockOpt(s, SOL_SOCKET, SO_PRIORITY, priority, "priority");
434#else
435 Y_UNUSED(s);
436 Y_UNUSED(priority);
437#endif
438}
439
440bool HasLocalAddress(SOCKET socket) {
441 TOpaqueAddr localAddr;

Callers

nothing calls this directly

Calls 2

CheckedSetSockOptFunction · 0.85
Y_UNUSEDFunction · 0.85

Tested by

no test coverage detected