As someone else pointed out, Marx was in favor of banning all immigration and emmigration. Socialism has nothing to offer immigrants but handouts.