espconn_gethostbyname timeout settings?
espconn_gethostbyname timeout settings?
Postby tontito » Sun May 17, 2015 6:41 pm
Hi,
i have NTP Server to RTC Clock synchronization and get webpage value.
ESP8266 for Arduino code
const int httpPort = 80;
client.connect("www.windows.com", httpPort)); //no internet 5000 millis for time out
WiFi.hostByName("time.windows.com", timeServer); //no internet 5000 millis for time out
ESP Api espconn_gethostbyname
if internet normaly no problem but no internet 5 second freeze esp8266 for timeout error.
how setting DNS time out?
i have NTP Server to RTC Clock synchronization and get webpage value.
ESP8266 for Arduino code
const int httpPort = 80;
client.connect("www.windows.com", httpPort)); //no internet 5000 millis for time out
WiFi.hostByName("time.windows.com", timeServer); //no internet 5000 millis for time out
ESP Api espconn_gethostbyname
if internet normaly no problem but no internet 5 second freeze esp8266 for timeout error.
how setting DNS time out?
Re: espconn_gethostbyname timeout settings?
Postby ESP_Faye » Thu May 21, 2015 10:12 am
Hi,
Thanks for your interest in ESP8266.
DNS time out can not be set right now, sorry for the inconvenience.
Thanks for your valuable advice, we will think it over.
Thanks for your interest in ESP8266.
DNS time out can not be set right now, sorry for the inconvenience.
Thanks for your valuable advice, we will think it over.
Who is online
Users browsing this forum: No registered users and 18 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.