Report question

Question: How to correctly close a socket and then reopen it?