Altera_Forum
Honored Contributor
20 years agolwIP and C++
Hello,
Does anybody know how to integrate lwIP into a C++ program. My trouble is that all the functions are in c. For example: - The init_done_func(...) is executed when lwip_stack_init(..) has finished. But how can i write the same functionallity in C++? - In my class I know which code to execute for the main programm, but lwIP forces you to create a task in the init_done function. How can i solve this? My objective is to create a base class that handles all the lwip init functionality so I can simply inherit from this class without worrying about the instantiation of lwip in my programms. (the base class takes care of the system initialization) Thanks in advance for your help, Jmastron.