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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to