[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] Usage example for DNS client (resolv.c)
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-users] Usage example for DNS client (resolv.c) |
Date: |
Tue, 19 Jun 2007 15:08:36 +0200 |
> The following is one of the places where I am using the DNS
> functionality - I'm posting it as an example for others who
> wish to integrate it.
>
> The resolv_init() function must be called with the IP address
> of your DNS server before any lookups are performed. (You
> don't want to call this more than once unless your DNS server
> IP changes, except if you also want to delete any cached
> entries in the local table).
>
> Remember you must add a call to resolv_tmr() so it runs
> approximately once a second in your timer routine - that is
> what actually triggers any pending queries to be processed.
>
> Hope you find it useful,
Nice code and I'd find it usefule to integrate into the stack.
Under which license is this DNS client available? Are we allowed
to integrate it in the core of lwIP (or add it in CVS contrib)?
Simon
- [lwip-users] updated raw api UDP echo server example, Juri Haberland, 2007/06/14
- RE: [lwip-users] updated raw api UDP echo server example, Spies, Dominik, 2007/06/14
- Re: [lwip-users] updated raw api UDP echo server example, Juri Haberland, 2007/06/14
- RE: [lwip-users] updated raw api UDP echo server example, Goldschmidt Simon, 2007/06/14
- Re: [lwip-users] updated raw api UDP echo server example, Juri Haberland, 2007/06/14
- RE: [lwip-users] updated raw api UDP echo server example, Goldschmidt Simon, 2007/06/14
- [lwip-users] DNS client for lwIP raw API, Pettinato, Jim, 2007/06/19
- RE: [lwip-users] DNS client for lwIP raw API, Taranowski, Thomas (SWCOE), 2007/06/27
- RE: [lwip-users] DNS client for lwIP raw API, Pettinato, Jim, 2007/06/27
- [lwip-users] Usage example for DNS client (resolv.c), Pettinato, Jim, 2007/06/19
- RE: [lwip-users] Usage example for DNS client (resolv.c),
Goldschmidt Simon <=
- RE: [lwip-users] Usage example for DNS client (resolv.c), Pettinato, Jim, 2007/06/19
- RE: [lwip-users] Usage example for DNS client (resolv.c), Kieran Mansley, 2007/06/19
- RE: [lwip-users] Usage example for DNS client (resolv.c), Pettinato, Jim, 2007/06/19