socket allcation is only one