MCPcopy Create free account
hub / github.com/LUX-Core/lux / CheckAndHandleError_int

Method CheckAndHandleError_int

src/cryptopp/socketft.h:92–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91 virtual void HandleError(const char *operation) const;
92 void CheckAndHandleError_int(const char *operation, int result) const
93 {if (result == SOCKET_ERROR) HandleError(operation);}
94 void CheckAndHandleError(const char *operation, socket_t result) const
95 {if (result == static_cast<socket_t>(SOCKET_ERROR)) HandleError(operation);}
96#ifdef USE_WINDOWS_STYLE_SOCKETS

Callers 4

ReceiveMethod · 0.80
SendMethod · 0.80
SendEofMethod · 0.80
EofSentMethod · 0.80

Calls 1

HandleErrorFunction · 0.85

Tested by

no test coverage detected