Fred39 <[email protected]> wrote:
> I tried it by calling the tcpip_callback(dhcp_start(netif_default),0)
> function in my application thread but it did not worked.
Did you even read the answer Marty wrote yesterday? The way you are using
tcpip_callback() suggests a) that you might want to learn a bit about the C
language, as you don't seem to be familiar with function pointers and b) that
your compiler has nearly all warnings turned off if your code compiles like
that.
Again, see other usages of tcpip_callback() throughout the stack for an example
of how this function is used. The two arguments are "function pointer to be
called from within another thread" and "argument passed to this function".
Simon
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users