lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Using libcurl on top of lwip


From: Mason
Subject: Re: [lwip-users] Using libcurl on top of lwip
Date: Tue, 13 Mar 2012 17:16:27 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Firefox/10.0.2 SeaMonkey/2.7.2

Kieran Mansley wrote:

> 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.

The preload trick works on dynamic-link systems, right?

(Everything is statically linked on my system.)

Or did you have something like weak symbols in mind?

-- 
Regards.



reply via email to

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