ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-10T14:15:12+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2095 2016-05-10T14:15:12+08:00 2016-05-10T14:15:12+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2095&p=6793#p6793 <![CDATA[Re: espconn_gethostbyname]]>
The third parameter can be used to store the IP address which got by DNS, so that if users call espconn_gethostbyname again, it won't run DNS again, but just use the IP address it already got.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Tue May 10, 2016 2:15 pm


]]>
2016-04-26T18:31:00+08:00 2016-04-26T18:31:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2095&p=6619#p6619 <![CDATA[espconn_gethostbyname]]>
I'm using RTOS 1.4 and I have a question about espconn_gethostbyname...

What's the third parameter and what is it used for? :(

espconn_gethostbyname(&user_tcp_conn, NET_DOMAIN, &tcp_server_ip, user_dns_found);

Thank you in advance

Statistics: Posted by IPQ — Tue Apr 26, 2016 6:31 pm


]]>