Change: [Network] Use string error messages instead of numeric error numbers that need to be looked up

This commit is contained in:
rubidium42
2021-04-27 12:13:06 +02:00
committed by Charles Pigott
parent 65c5a64719
commit cf8c1aa860
5 changed files with 13 additions and 11 deletions

View File

@@ -31,6 +31,8 @@
#define NetworkGetLastError() WSAGetLastError()
#undef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#undef ECONNRESET
#define ECONNRESET WSAECONNRESET
const char *NetworkGetErrorString(int error);