ESP8266 Developer Zone The Official ESP8266 Forum 2015-12-24T14:10:36+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=931 2015-12-24T14:10:36+08:00 2015-12-24T14:10:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=931&p=5145#p5145 <![CDATA[Re: Poor function name: espconn_regist_time]]>
Sorry that espconn_regist_time only works in TCP server mode.

Maybe you could set a timer to check if ESP8266 received any data, and if not till time out, call espconn_disconnect to disconnect it.

Statistics: Posted by ESP_Faye — Thu Dec 24, 2015 2:10 pm


]]>
2015-12-23T12:15:42+08:00 2015-12-23T12:15:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=931&p=5138#p5138 <![CDATA[Re: Poor function name: espconn_regist_time]]> Statistics: Posted by jinhucn — Wed Dec 23, 2015 12:15 pm


]]>
2015-08-11T04:59:17+08:00 2015-08-11T04:59:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=931&p=3130#p3130 <![CDATA[Re: Poor function name: espconn_regist_time]]> Statistics: Posted by Veeda — Tue Aug 11, 2015 4:59 am


]]>
2015-08-11T00:36:44+08:00 2015-08-11T00:36:44+08:00 https://bbs.espressif.com:443/viewtopic.php?t=931&p=3127#p3127 <![CDATA[Poor function name: espconn_regist_time]]>
A possible alternative might be "espconn_regist_timeout" but better yet would be "espconn_set_tcp_timeout".

On a broader note ... maybe we can find a way to review ALL the exposed SDK methods and see if their naming could be improved?

Neil

Statistics: Posted by kolban — Tue Aug 11, 2015 12:36 am


]]>