[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19225] bind, connect, and sendto should verify input
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers |
Date: |
Wed, 07 Mar 2007 10:34:45 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 |
Follow-up Comment #5, bug #19225 (project lwip):
> In fact, I think that netconn_ is not so useful, except for the zero-copy.
In fact, that's what I think, also. I don't really know what the benefit is
using netconn api (OK, except for the zero-copy). If you really want to
design a fast application, you'd use the callback API. And if not, you can
use the socket API.
The only benefit seems to be the zero-copy on receive. TCP sending with
copy=0 (zero copy send) is rare since you must have real static (or ROM)
data.
So, when receiving, socket API is of course slower, but does that really
outweight the fact that we have to support 3 APIs instead of 2?
Also, I think a tightly integrated socket API could be more performant than
the current "3-layer-solution".
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19225>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Dmitry Potapov, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Kieran Mansley, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Dmitry Potapov, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers,
Simon Goldschmidt <=
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Simon Goldschmidt, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Kieran Mansley, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Dmitry Potapov, 2007/03/07
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/11
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/11
- [lwip-devel] [bug #19225] bind, connect, and sendto should verify input paramers, Frédéric Bernon, 2007/03/11