Thanks for the reply, Jack.
The transmitting data is very simple one: just a single number of float.
Data socket is sending that number every some (1/ 10/ 100) milliseconds in a while loop.
What I'm concern is Data socket's performance in two cases:
Method #1: a single data transfer in each and every loop (say, a single float number, 1000 times of transfer command (1 kHz)).
Method #2: one package with some data in it with lower transfer rate (say, 100 data array, with 10 times (10 Hz) of transfer command).
I know method #2 is definately better for network program (I may need buffering technique).
But the delay time is very imporant in my application, so I'm seeking a way, other than buffering.
So my questions are:
- Can the speed of 320 KB/s be achieved regardless the number of tranfer command?
- Or only for continuous transfer rate under single/few transfer command?
- If fewer transfer command is highly-recommended, what is the performance for it? Any KB for this issue? (e.g. Overhead of calling command).
- Any technique recommended for minimizing the network delay?
Thanks,
YK.