Need to receive a tcp stream about 25Mbyte/s, then assemble into individual package by protocol definition.
The first thing is how should I read the tcp socket, how long time interval should be each read. Now I set as 1ms.
There are different tcp reading mode, which mode is better, I set as immediate reading as timeout.
Also, normally how to assemble these packages, and for one of the protocol definition, the package length 41256.
Any suggestion, thanks.