[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] A question about dns_init
From: |
Hervé DANIEL |
Subject: |
[lwip-users] A question about dns_init |
Date: |
Fri, 14 Oct 2011 18:39:23 +0200 |
User-agent: |
Opera Mail/11.51 (Win32) |
Hi,
I'm tring to use netconn_gethostbyname (LWIP1.3.2)
I've made a basic program with this code
dns_init();
err=netconn_gethostbyname("www.google.com", &Addr);
and i get the adress. (what a beautifull world)
then i copy paste to my real program (it s a web server) and i get an error
err = -8 : ERR_VAL
the trace are :
dns_init: initializing
dns_enqueue: "www.google.com": use DNS entry 0
dns_send: dns_servers[0] "www.google.com": request
dns_tmr: dns_check_entries
dns_send: dns_servers[0] "www.google.com": request
dns_tmr: dns_check_entries
dns_send: dns_servers[0] "www.google.com": request
dns_tmr: dns_check_entries
dns_tmr: dns_check_entries
dns_send: dns_servers[0] "www.google.com": request
dns_tmr: dns_check_entries
dns_tmr: dns_check_entries
dns_tmr: dns_check_entries
dns_check_entry: "www.google.com": timeout
if i wait a moment after dns_init();
the trace are :
dns_init: initializing
dns_tmr: dns_check_entries
dns_tmr: dns_check_entries
dns_tmr: dns_check_entries
dns_enqueue: "www.google.com": use DNS entry 0
....
I've try a lot of things like different place in program, waiting ...
nothing help.
The question is:
What can i've done in my program who perturb dns_init ?
What can i do to find why don't run?
--
herve.
- [lwip-users] A question about dns_init,
Hervé DANIEL <=