Network/SocketPoller: Fix cases where EAGAIN is not the same as EWOULDBLOCK (Posix)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user