lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remoteadd


From: Kieran Mansley
Subject: RE: [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remoteaddr/port connection state
Date: Fri, 20 Apr 2007 12:49:58 +0100

On Fri, 2007-04-20 at 13:25 +0200, Goldschmidt Simon wrote:
> > As you probably know I disagree :-). I don't think you can 
> > sensibly add zero copy to a BSD socket API. At the very 
> > least, once you try, you haven't got a BSD socket API. There 
> 
> As only the send/recv functions would have to be changed so that
> zero-copy can be
> included, this wouldn't break BSD-compatibility but just add additional
> functions to it.

And so it wouldn't be the BSD API anymore.  And it wouldn't work for
TCP.  And so on.  I don't think we should try and do this.  If people
want a higher performance zero-copy API, we've got one in the form of
our raw API.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]