MCPcopy Create free account
hub / github.com/ElementsProject/elements / IOErrorIsPermanent

Function IOErrorIsPermanent

src/util/sock.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#endif
25
26static inline bool IOErrorIsPermanent(int err)
27{
28 return err != WSAEAGAIN && err != WSAEINTR && err != WSAEWOULDBLOCK && err != WSAEINPROGRESS;
29}
30
31Sock::Sock() : m_socket(INVALID_SOCKET) {}
32

Callers 3

SendCompleteMethod · 0.85
RecvUntilTerminatorMethod · 0.85
IsConnectedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected