Set x86
More socket error checking