This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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.