In application the data from esp has to be sent to my client almost real-time, delays should be less than <0.5second. My buffer is also not able to store more than a second of data.
rudy wrote:There is no specified time before a resend but three seconds is a typical value I have seen when looking at TCP re-transmission.
With games, TCP is too slow for quickly changing events. And what is often done is using UDP with multiple sends. A message ID count is used to determine if it has already been received. If it has it throws away the duplicate messages. Typically three messages are sent (with slight delays) and that should take care of any recoverable situations.