MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / NetworkErrorString

Function NetworkErrorString

src/util/sock.cpp:426–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424};
425
426std::string NetworkErrorString(int err)
427{
428#if defined(WIN32)
429 return Win32ErrorString(err);
430#else
431 // On BSD sockets implementations, NetworkErrorString is the same as SysErrorString.
432 return SysErrorString(err);
433#endif
434}

Callers 15

BindAndStartListeningMethod · 0.85
AcceptConnectionMethod · 0.85
ReceiveAndProcessMethod · 0.85
RecvMethod · 0.85
CreateSockOSFunction · 0.85
ConnectToSocketFunction · 0.85
SocketSendDataMethod · 0.85
AcceptConnectionMethod · 0.85
BindListenPortMethod · 0.85

Calls 2

Win32ErrorStringFunction · 0.85
SysErrorStringFunction · 0.85

Tested by

no test coverage detected