[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Using libcurl on top of lwip
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Using libcurl on top of lwip |
Date: |
Tue, 13 Mar 2012 16:00:23 +0000 |
On Tue, 2012-03-13 at 16:40 +0100, Mason wrote:
>
> I'd be happy to hear suggestions, opinions, comments...
If you could arrange for lwIP to use a different range of socket IDs
from the file descriptors used by libc then you could easily make a
wrapper function that would call the appropriate function (libc close or
lwip_close) based on the fd provided. This would then allow you to use
libcurl without modifying it as your wrapper could be in a preload
library and intercept the calls to close.
Kieran