change server struct to be identified by the sockfd