Scripting: Add WSAEWOULDBLOCK to error translation table

This commit is contained in:
Vicki Pfau 2023-02-22 19:52:33 -08:00
parent ea345ca815
commit 1ca6f7e093
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ static const struct _mScriptSocketErrorMapping {
#ifndef USE_GETHOSTBYNAME
#ifdef _WIN32
{ WSATRY_AGAIN, mSCRIPT_SOCKERR_AGAIN },
{ WSAEWOULDBLOCK, mSCRIPT_SOCKERR_AGAIN },
{ WSANO_RECOVERY, mSCRIPT_SOCKERR_FAILED },
{ WSANO_DATA, mSCRIPT_SOCKERR_NO_DATA },
{ WSAHOST_NOT_FOUND, mSCRIPT_SOCKERR_NOT_FOUND },