Use define IO_WOULD_BLOCK instead of a magic number.