espconn_connect timeout ?

Posts: 29
Joined: Wed Jan 06, 2016 2:59 am

espconn_connect timeout ?

Postby sharkx » Mon Dec 18, 2017 4:19 pm

Hello all,

Is there a way to control the TCP connect timeout ? Can't seem to find it anywhere in the SDK pdf.
I'm stuck with the 1.3.0, but the 2.1.2 doesn't have it either.

Normally, I would put the socket in non-blocking mode, but I don't know how to do this either, with the 1.3.0 SDK.

Thanks for any advice / tip.

Her Majesty
Posts: 314
Joined: Mon Oct 27, 2014 11:09 am

Re: espconn_connect timeout ?

Postby Her Majesty » Mon Dec 25, 2017 3:30 pm

I know an internal API "espconn_tcp_set_max_syn" to set the retry times of espconn_connect on the ESP8266_NONOS_SDK.
But 1.3.0 is a real old version, I do not know if the API exists on the version 1.3.0.

Who is online

Users browsing this forum: wangym307 and 7 guests