in reply to (MeowChow) Re4: porting this 'setnonblocking' subroutine to Windows
in thread porting this 'setnonblocking' subroutine to Windows

EAGAIN and EWOULDBLOCK are actually different errors, though they are similar enough that many vendors alias one to the other.

Certainly if one is present and the other is not, then I think the missing should be aliased to the present one. But they should not be assumed to be identical because they aren't always.

  • Comment on Re (tilly) 5: porting this 'setnonblocking' subroutine to Windows