Dont forget to initialize sockfd