lwip-users
[Top][All Lists]
Advanced

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

Re: RE : [lwip-users] LWIP_COMPAT_SOCKETS in sockets.h


From: Kieran Mansley
Subject: Re: RE : [lwip-users] LWIP_COMPAT_SOCKETS in sockets.h
Date: Thu, 07 Sep 2006 08:41:45 +0100

On Thu, 2006-09-07 at 09:19 +0200, Goldschmidt Simon wrote:

> I think that either a good wrapper should be implemented with lwIP (which 
> could be difficult) or (better) you could simply write this wrapper and 
> include it in the port for your OS (which you have to create anyway...).

In the past when I've done this, I've done it in the sockets layer by
doing a lookup on the socket.  If it's not one I know of, I pass it
through to the OS and expect it to either handle it (if it's a file
descriptor) or return an error.  This worked pretty well.  We can't
easily do this in lwIP though as it's rather OS specific, and so up to
the porter.  We could, I suppose, provide hooks for the port to use to
provide this functionality.

Kieran





reply via email to

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