I have now almost finished replacing the espconn interface in my application by the native LWIP interface. That wasn't so bad after all.
Now my next step would be is to replace the pre-compiled lwip from Espressif with one I compiled myself. I am not too sure how to do that. The ESP8266_NONOS_SDK module has a subdirectory third_party/lwip. Is this the exact version that Espressif uses to compile liblwip.a and also the latest as included in the SDK libs? Has anyone tried this?
After that, I see some people using newer versions of LWIP, especially LWIP2. Is there a significant advantage of using newer versions over the stock version? How do you make sure the ESP8266 integration/patches are in place?
Has anyone been using IPv6 using LWIP?