title: Do I need to close a socket?
body: <p>After sending data over a socket with Winsock, you're supposed to close the connection like this:</p>
  
  <pre><code>closesocket(ConnectSocket);
  WSACleanup();
  </code></pre>
  
  <p>I'm writing an API that sends data over a socket.  If I have to close the socket afterwards, I need to add a function to the API so that users can say when they're done getting data.  Is it a problem if I don't close the socket, for convenience?</p>