title: when all I get is EOF from a net.TCPConn, how do I know if the connection has been dropped?
body: <p>The godocs say:</p>
  
  <p>"EOF is the error returned by Read when no more input is available. Functions should return EOF only to signal a graceful end of input. If the EOF occurs unexpectedly in a structured data stream, the appropriate error is either ErrUnexpectedEOF or some other error giving more detail."</p>
  
  <p>and in my program I would <code>love</code> love to get ErrUnexpectedEOF, but I don't. I always get just EOF even when the client terminates in the middle of sending a file.</p>
  
  <p>so, i'm stuck. Successful files that transfer 100% of the way thru send EOF at end. And files that quit 50% thru with error also send EOF as the error. I do not know the total size of the file before the transfer.</p>
  
  <p>Is there any more information I could get from the net.TCPConn to know was this a full file or not?</p>