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

Method Start

library/cpp/netliba/v6/udp_client_server.cpp:548–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546 };
547
548 bool TUdpHost::Start(const TIntrusivePtr<NNetlibaSocket::ISocket>& socket) {
549 if (s.IsValid()) {
550 Y_ASSERT(0);
551 return false;
552 }
553 s.Open(socket);
554 if (!s.IsValid())
555 return false;
556
557 if (IBDetection)
558 IB = CreateIBClientServer();
559
560 NHPTimer::GetTime(&CurrentT);
561 return true;
562 }
563
564 static bool HasAllPackets(const TUdpInTransfer& res) {
565 if (!res.HasLastPacket)

Callers 2

CreateUdpHostFunction · 0.45
TIBMemPoolMethod · 0.45

Calls 3

CreateIBClientServerFunction · 0.70
IsValidMethod · 0.45
OpenMethod · 0.45

Tested by

no test coverage detected