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

Function CreateHttpUdpRequester

library/cpp/netliba/v6/udp_http.cpp:1330–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328 }
1329
1330 IRequester* CreateHttpUdpRequester(int port) {
1331 if (PanicAttack)
1332 return nullptr;
1333
1334 TIntrusivePtr<NNetlibaSocket::ISocket> socket = NNetlibaSocket::CreateSocket();
1335 socket->Open(port);
1336 if (!socket->IsValid())
1337 return nullptr;
1338
1339 return CreateHttpUdpRequester(socket);
1340 }
1341
1342 IRequester* CreateHttpUdpRequester(const TIntrusivePtr<NNetlibaSocket::ISocket>& socket) {
1343 if (PanicAttack)

Callers 2

SessionLevelTestFunction · 0.70
TNetlibaRequesterMethod · 0.50

Calls 5

CreateSocketFunction · 0.50
OpenMethod · 0.45
IsValidMethod · 0.45
StartMethod · 0.45
ReleaseMethod · 0.45

Tested by 1

SessionLevelTestFunction · 0.56