Hi, I am trying to get real-time data from pocket beaglebone [server] (sample rate @ 250 Hz) using TCP/IP in Processing 3.4 [client].
Library imported: Network
I used clienEvent() which as per reference (https://processing.org/reference/libraries/net/clientEvent_.html) should ideally be called at every byte; around 250 times/sec in this case.
But the call rate is only 20/sec approx.
Is clientEvent()/ TCP protocol always this slow in processing? Is it even possible to get real-time data using TCP/IP? If yes, please share insights on possible workarounds.
Appreciate your time. Many thanks.