title: What, exactly, does a "broken pipe" exception mean to the Socket?
body: <p>I have an android app that talks to a program on a PC.  I'm using the Android (Java) Socket class.    If I stop and restart the PC app the next time I send something from Android I get an IO Exception "Broken Pipe".     My question is not about that.   Here's the question:</p>
  
  <p>After getting the broken pipe exception if I query the Socket's <em>isClosed()</em> method it returns false  (i.e., it's not closed), and if I query the Socket's <em>isConnected()</em> method it returns true, i.e., that it IS connected.   Could someone please explain these results to me?   Thanks in advance!</p>