lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] SOCK_RAW


From: Kieran Mansley
Subject: Re: [lwip-users] SOCK_RAW
Date: Tue, 2 Mar 2004 09:17:09 +0000 (GMT)

On Tue, 2 Mar 2004 address@hidden wrote:
> I havn't looked at or used the socket emulation layer, but I am familiar
> with BSD sockets generally, and here are some of the problems I can think
> of generally...
>
> 1) The socket API requires copy of received packets
> 2) The socket API requires additional synchronisation and threads
> 3) The socket API lends itself to implementations which use a large number
>    of threads (Though this can be avoided with poll).
> 4) Polling sucks.
> 5) Using extra threads means you incur context switch overheads
> 6) Although not strictly necessary, it is would be difficult to implement
>    the socket layer without adding an extra layer of buffering between the
>    application and the IP stack.

All true (more or less), but true of the sockets API in general, not just
our implementation of it!

Kieran





reply via email to

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