Hi Rejean, Yes, you are right! I included the additional tmr calls, and dns retry is working.
What I am still wondering is why the UDP packets are not sent (in about the first second after netif_is_up() says the interface is up). I added a timed routine to send a small generic UDP packet each 200ms...the first 4 or 5 packets are not sent, and after that, all packets are sent ok. That´s why the DNS kind of worked even without the dns_tmr() if I delayed the dns_gethostbyname call. I could live with that, but I would like to know what I am doing wrong. Thansk again!! Sergio. On Wed, Jan 21, 2009 at 12:27 AM, Rejean Groleau <[email protected]> wrote: > > It looks like the dns_tmr() function is not invoked > by the Luminary port in its default implementation. > > I looked into utils\lwiplib.c (revision 3740), and a few other > calls are missing, such as ip_reass_tmr() and igmp_timer(). > > Sergio: you should add these three function calls, surrounded > by "ifdefs", into the lwIPServiceTimers() function. Otherwise, > you might have surprises if you ever implement functionality > that require these modules... > > -Reggie > > > Simon Goldschmidt wrote: >> >> Have you made sure timeouts work at all in your port? >> > > -- > View this message in context: > http://www.nabble.com/lwip-1.3-UDP---DNS-strange-behaviour-tp21537539p21575982.html > Sent from the lwip-users mailing list archive at Nabble.com. > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
