> Why do nearly all people on this list seem to use the raw API instead of 
> netconn or sockets?
> Performance-gain? Flexibility?

Maybe the ones using netconn or socket API don't have any problems? :-)

But really, I haven't used the netconn API so far, but the socket API solves 
many lwIP-related difficulties for the programmer and thus makes programming 
applications easier. But of course there is a performance-gain using the raw 
API. Depending on the system you are using, the frequent task changes (between 
tcpip_thread and application thread) can be *very* time-consuming. However, 
using the netconn API, the task changes should be the only performance drawback 
against the raw API.

Simon
-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to