On 11 Mar 2011, at 21:26, Stephen Cleary wrote:

> My guess is that the raw initialization (tcp_new, etc) should go into the 
> tcpip_init callback, correct? (Another possibility would be ethernetif_init 
> (which is run, I assume, in the context of tcpip_thread), but it seems wrong 
> to put raw api calls in that function.)

You could do it in the callback if you wished (I think).  You can also use the 
tcpip_callback function (if I remember the name rightly) to execute some 
function in the tcpip thread context.

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

Reply via email to