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

Method ConnectLow

library/cpp/netliba/v12/udp_host.cpp:583–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581 }
582
583 void TUdpHost::ConnectLow(TConnection* connection) {
584 Connections.Insert(connection->GetGuid(), connection);
585 if (XsPingSending) {
586 SendXsPing(S, connection, S.GetNetworkOrderPort(), 0);
587 }
588 }
589
590 static ui8 ChooseTos(const int explicit_, const int default_) {
591 return (ui8)(explicit_ == -1 ? default_ : explicit_);

Callers

nothing calls this directly

Calls 3

SendXsPingFunction · 0.85
InsertMethod · 0.45
GetNetworkOrderPortMethod · 0.45

Tested by

no test coverage detected