I want to read data from a Wifi module using TCP and plot in Processing. Right now I am just sending a loop of counter values (from 0 to 1000) from the other end. The code in my Processing takes around 16660 milliseconds to read 1000 values. I checked in the Hyperterminal, which reads the data lot faster. Why is it so slow?
I tried to check which part is causing the delay but couldn't figure out.