espconn_gethostbyname timeout settings?

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

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?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

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.

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

Re: espconn_gethostbyname timeout settings?

Postby tontito » Fri Jan 15, 2016 3:14 am

any progress on this issue?

tontito
Posts: 12
Joined: Sun May 17, 2015 6:33 pm

Re: espconn_gethostbyname timeout settings?

Postby tontito » Wed Jan 20, 2016 7:57 pm

1.5.1 sdk?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: espconn_gethostbyname timeout settings?

Postby ESP_Faye » Thu Jan 21, 2016 3:10 pm

Hi,

Sorry that we do not have this feature.

Due to the busy schedule we do not have a plan to add it recently.

Sorry for the inconvenience.

Who is online

Users browsing this forum: No registered users and 18 guests