lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwIP RAW API and "deferred processing" indifferentconte


From: Kieran Mansley
Subject: Re: [lwip-users] lwIP RAW API and "deferred processing" indifferentcontext
Date: Wed, 7 Dec 2011 16:10:49 +0000

On 7 Dec 2011, at 16:05, Gisle Vanem wrote:

> I would think using non-blocking sockets (espesially in servers) would be
> more effective compared to spawning a separate thread for each connection.
> I would love to see a change for having sockets with NO_SYS=1.

A solution that doesn't support blocking semantics isn't a useful one.  The 
whole point of the sockets API is that it works the same way on all platforms, 
making porting the application and writing code against a familiar API easy.  
lwIP already has more specialised APIs that are tailored to deliver higher 
performance and lower overheads, which people are encouraged to use, but the 
sockets API needs to be as close to the BSD sockets standard as possible.

Kieran


reply via email to

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