lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] [OT] why raw API?


From: Simon Goldschmidt
Subject: Re: [lwip-users] [OT] why raw API?
Date: Wed, 29 Jul 2009 08:20:22 +0200

> 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




reply via email to

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