[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DE46A90.6080004@krellan.com>
Date: Mon, 30 May 2011 21:12:00 -0700
From: Josh Lehan <krellan@...llan.com>
To: "Marcus D. Leech" <mleech@...net.com>
CC: Josh Lehan <linux@...llan.com>, netdev@...r.kernel.org
Subject: Re: Skipping past TCP lost packet in userspace
On 05/30/2011 08:30 PM, Marcus D. Leech wrote:
> This sounds like you want UDP, not TCP.
>
> Unless I'm misunderstanding what you want, you want a protocol that has
> a different "contract"
> than TCP. Doing what you want basically requires breaking TCP. That
> isn't going to happen.
Thanks. This wouldn't break the TCP protocol on the wire, though.
Instead, it would merely provide a way for a userspace application to
"peek" at the arrived data that's behind the missing packet. There's
already an ioctl() to peek at unread data, but it considers the missing
packet to be a barrier, and will not allow the application to see beyond it.
The reason for TCP is for maximum compatibility with firewalls, proxies,
and all the other annoyances of the modern commercialized Internet.
Using UDP would indeed solve this problem, but defeat the point of being
compatible. Using other exotic protocols such as SCTP or DCCP is a
nonstarter.
Josh Lehan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists