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

Method CheckAndHandleError

src/cryptopp/socketft.h:94–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
97 void CheckAndHandleError(const char *operation, BOOL result) const
98 {if (!result) HandleError(operation);}

Callers 5

SocketReceiverMethod · 0.45
GetReceiveResultMethod · 0.45
SocketSenderMethod · 0.45
SendEofMethod · 0.45
GetSendResultMethod · 0.45

Calls 1

HandleErrorFunction · 0.85

Tested by

no test coverage detected