I have a thread that reads characters from a Buffered reader (created from a socket as follows):
inputStream = new BufferedReader(new InputStreamReader(clien
Implement a protocol where you send the length of your data in your headers so the server/client knows how much data to expect.