Network/SocketPoller: Fix cases where EAGAIN is not the same as EWOULDBLOCK (Posix)
This commit is contained in:
parent
28965b799e
commit
311e2a545d
|
|
@ -465,6 +465,7 @@ namespace Nz
|
|||
int errorCode = GetLastErrorCode();
|
||||
switch (errorCode)
|
||||
{
|
||||
case EAGAIN:
|
||||
case EWOULDBLOCK:
|
||||
{
|
||||
// If we have no data and are not blocking, return true with 0 byte read
|
||||
|
|
|
|||
Loading…
Reference in New Issue