MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / LogConnectFailure

Function LogConnectFailure

src/netbase.cpp:475–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473
474template<typename... Args>
475static void LogConnectFailure(bool manual_connection, const char* fmt, const Args&... args) {
476 std::string error_message = tfm::format(fmt, args...);
477 if (manual_connection) {
478 LogPrintf("%s\n", error_message);
479 } else {
480 LogPrint(BCLog::NET, "%s\n", error_message);
481 }
482}
483
484bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocket, int nTimeout, bool manual_connection)
485{

Callers 1

ConnectSocketDirectlyFunction · 0.85

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected