Hi list,

another change I'd like your comment on:

I'm not happy with the initialization of ip, udp and tcp in tcpip.c, in the 
function tcpip_thread(). The reason for this is that WE have the following 
startup code:

- initialize OS
- initialize lwIP
- initialize our raw-api connections
- start the OS

-> here, tcpip_thread() gets running and calls ip_init(), udp_init() and 
tcp_init() again, which leads to the situation that the previously initialized 
connections are thrown away by another initialization of the modules.

My idea was to move the calls to ip_/udp_/tcp_init() from tcpip_thread() to 
tcpip_init(). Any objections?

Simon
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to