Hi all,
I´m trying to build a setup like this:
1) c project that is based on the lib project in the contrib distribution to generate the lwip as a library
2) c project that links to the library created in (1) and just adds a network interface, using the tap interface as done in the unix contrib distribution.
3) c project that is based on the chargen example in the contrib distribution.
I´ve compiled all projects. After that, run my (2) project and the lwip gets initialized. Next, run (3) and expect the app to be able to open a socket. However, it fails to open returning null at "netconn_alloc".
If I do (2) and (3) as a single project (starting the chargen example right after adding the netif in the code) everything works fine.
Please, could someone help me on what am I missing on this setup? I´m running the projects over linux.
Best Regards,
Wendel