Re: Skipping past TCP lost packet in userspace
From: Mikael Abrahamsson <hidden>
Date: 2011-05-31 04:05:07
From: Mikael Abrahamsson <hidden>
Date: 2011-05-31 04:05:07
On Mon, 30 May 2011, Josh Lehan wrote:
Hello. I looked, but could not find an answer. Is there already an ioctl() or something like that in Linux, that would allow a userspace TCP socket to skip past a lost packet?
The basic operation of TCP is that it delivers a character stream to the application. That requires TCP to make sure everything is in order and nothing is missing. If you want to do something else, you have to choose another protocol.
Is there a way for a userspace program to prevent this needless stall?
That's like saying your body has all that needless blood. -- Mikael Abrahamsson email: swmike@swm.pp.se