I am acting as the client and I'm recieving data in blocks from the server. I'm using a regular socket with an InputStreamReader. The problem is that the server sends me loads of points to plot on a graph. Each time I recieve a point I could plot it but I want to wait till I recieve all the data in the block and when there is a pause in communication plot the data. Typically I will recieve upto 100 points every 2 seconds.