Hi,

netconn_gethostbyname returns the error.

I found that I call two time dns_init (alwready call with tcpip_init before)
But it change nothing.

--
herve.


Le Sat, 15 Oct 2011 21:06:23 +0200, Kieran Mansley <[email protected]> a écrit:


On 14 Oct 2011, at 17:39, Hervé DANIEL wrote:


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

What function is it that returns the error?

Kieran
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to