If I am looking at it right, USE_LWIPSOCK is only used in these files 'curl_setup_once.h', 'curl_setup.h', 'easy.c', 'config-win32.h' and 'curl_addrinfo.c' right?
On Tue, 11 Sep 2018 at 12:45, Dan Fandrich via curl-library < [email protected]> wrote: > On Tue, Sep 11, 2018 at 09:26:47AM +0200, Robert Jonathan Šimon via > curl-library wrote: > > Hello, > > I am using curl library in my home project. I want to change IP stack > (because > > I am not using it on my computer). Is it possible and how? Is it enough > to just > > change connect.c? > > There are many uses of the sockets API scattered throughout the code, so > changing connect.c won't be enough. To switch to another > sockets-compatible IP > stack, you would need to replace the sclose(), sread(), swrite() and > sfcntl() > macros plus a few other things. You can see the places in the code that > had to > change to use the LwIP stack by searching for USE_LWIPSOCK > > >>> Dan > ------------------------------------------------------------------- > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library > Etiquette: https://curl.haxx.se/mail/etiquette.html
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
