Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Cómo se debe cerrar correctamente un socket en C para liberar los recursos asociados?
delete sock;
free(sock);
kill(sock, SIGTERM);
shutdown(sock, SHUT_RDWR); close(sock);
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!