title: Does closing the BufferedReader/PrintWriter close the socket connection?
body: <p>I have an application that uses simple sockets to pass some characters between two systems.  I have my java application running as a server.  I establish a connection fine, and even pass one message.  However, after one message has been sent my connection closes.</p>
  
  <p>From what I can tell it appears as if on closing the <code>printWriter</code> and <code>bufferedReader</code> the socket itself is being closed?!  This is bad, as I have multiple messages to send on the same connection.</p>
  
  <pre><code>printWriter = new PrintWriter(theServer.getClientSocket().getOutputStream());
  bufferedReader = new BufferedReader(new InputStreamReader(theServer.getClientSocket().getInputStream()));
  
  
  printWriter.println("the line");
  
  printWriter.close(); //Closing on these lines?
  bufferedReader.close(); //Closing on these lines?
  </code></pre>
  
  <p>Am I full of it?  How do I maintain this connection in Java?  </p>