Hi, I use AVRstudio 2.7.0 with lwip1.3.2. I need to send query DNS so I use dns_init and netconn_gethostbyname.
Here is my code for to send my query : dns_init(); vTaskDelay(12000); //12sec sprintf(site,"name of web site"); //ex: "en.wikipedia.org" err=netconn_gethostbyname(site, &AddrFree); I must use a delay ("vTaskDelay (12000);", 12sec)between the two functions otherwise it doesn't work. Anyone know why it must have this delay?or another solution? Thank you. Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users