server receive code