title: Are close() and closesocket() interchangable?
body: <p>I've seen a lot of answers here that say to use close() to destroy a socket but the guide I used from <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb530743%28v=vs.85%29.aspx" rel="noreferrer">msdn</a> has me using closesocket(). I'm wondering if there is a difference and if there are reasons to use one or the other.</p>
  
  <p>In both cases, I am seeing the suggestion to use shutdown() so that's all well and good.</p>