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

Function Iterate

util/network/socket.cpp:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645static inline const struct addrinfo* Iterate(const struct addrinfo* addr, const struct addrinfo* addr0, const int sockerr) {
646 if (addr->ai_next) {
647 return addr->ai_next;
648 }
649
650 ythrow TSystemError(sockerr) << "can not connect to " << addr0;
651}
652
653static inline SOCKET DoConnectImpl(const struct addrinfo* res, const TInstant& deadLine) {
654 const struct addrinfo* addr0 = res;

Callers 1

DoConnectImplFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected