Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Howto speed up a Client Application?

$
0
0
I have finally found it:
- Somewhere else my code was using the Client class method active() to find out if there was any pending string to read;
- The connection is really closed after 6 seconds and then active() becomes false.
Now I have put a 1 second timer through an external thread after the first character is read and my code starts to process the incoming string afterwards.
I don't know if there may be any more elegant solution, but it works!

SAM

Viewing all articles
Browse latest Browse all 1768

Trending Articles