IOS/Network: Handle SO_ENETRESET
This commit is contained in:
parent
3b48e613e5
commit
55a59421d9
|
@ -83,6 +83,8 @@ static s32 TranslateErrorCode(s32 native_error, bool isRW)
|
|||
case ENOMEM: // See man (7) ip
|
||||
case ERRORCODE(ENOBUFS):
|
||||
return -SO_ENOMEM;
|
||||
case ERRORCODE(ENETRESET):
|
||||
return -SO_ENETRESET;
|
||||
case EITHER(WSAEWOULDBLOCK, EAGAIN):
|
||||
if (isRW)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue