title: Better ways than BufferedReader.readLine()?
body: <p>Using <code>ServerSocket</code> and <code>BufferedReader.readLine()</code> the input is only read once the line is terminated on the client side, is there anyway to read the input, and send an output before the line is terminated?</p>
  
  <pre><code>ServerSocket SRVSOCK = new ServerSocket(35553);
  while(true){
      Socket SOCK = SRVSOCK.accept();
      InputStreamReader IR = new InputStreamReader(SOCK.getInputStream());
      BufferedReader BR = new BufferedReader(IR);
  
      String MESSAGE = BR.readLine();
  
      PrintStream PS = new PrintStream(SOCK.getOutputStream());
      System.out.println(MESSAGE);
      PS.print("Returned Successfully");
  }
  </code></pre>