Hi Simon, Thanks. As Rejean pointed out, the LuminaryMicro implementation of lwip misses the dns_tmr() call. I fixed it and now dns retry is working, although all UDP packets only are generated on the wire about 1 second after netif_is_up() says interface is up.
Do you have an idea of what I am doing wrong ? Regards, Sergio. On Tue, Jan 20, 2009 at 7:13 PM, [email protected] <[email protected]> wrote: > Sergio Sider wrote: >> >> I am using lwip "ported" by LuminaryMicro, and CodeSourcery (GCC) >> >> #define SYS_LIGHTWEIGHT_PROT 1 // default is 0 >> #define NO_SYS 1 // default is 0 >> >> On interesting fact: A custom UDP message I send on the beggining was >> not transmitted also although the program thought it was. After a few >> seconds, the udp messages started to work. But DNS don“t, but that's >> because of the timeout that never occurs, so there is no retry. >> > > Have you made sure timeouts work at all in your port? The default lwIP > source provides no timoeut implementation in case of setting NO_SYS to 1! > This is a known limitation and before 1.3.0 we had a discussion about that, > but it has kind of lead nowhere yet... > > > Simon > > > _______________________________________________ > 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
