nlneilson Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
Contributor
Yes the problems seem to be on the java end.
Data is received but apparently there is no positive method to keep the data in order. Each 'line' represents two points. For the points to get messed up so they are not consistent with the path that is supposed to be drawn gives the diagonal lines.
The transfer is very fast whether sent separately or as one buffer. The time taken by the java app to change the format if necessary, error handling and draw it while additional lines are actually being received into some unknown que.
C++ and Upp are very good and most problems end up being in java.