title: Why need to sleep(1) to allow socket to drain?
body: <p>I downloaded the source code for a simple static web server from
  <a href="http://www.ibm.com/developerworks/systems/library/es-nweb/sidefile1.html">http://www.ibm.com/developerworks/systems/library/es-nweb/sidefile1.html</a></p>
  
  <p>However, I'm confused by line 130:</p>
  
  <pre><code>#ifdef LINUX
  sleep(1);       /* to allow socket to drain */    
  #endif
  
  exit(1);
  </code></pre>
  
  <p>Since there is no close for the socket, does it mean I need to wait the client close the socket? </p>