Espressif_Faye wrote:
Hi,
call espconn_regist_reconcb to register a reconnect callback, when TCP connection broke and retry fail, it goes into the reconnect callback.
Thanks for your interest in ESP8266 .
i know what you said,and i also implemented the callback like this "espconn_regist_reconcb(user_contype.pCon, we_link_reconn_cb);"
it sure can reconnect when TCP connection broken. but i mean the otherwise,you can test as follow step:
1.boot esp8266 and wait it connect with local TCP server successful
2.plug out Ethernet wire(RJ45 on you PC)
now ,you can see esp8266 report nothing and won't enter "espconn_regist_reconcb" alsoStatistics: Posted by grantgao — Fri Apr 17, 2015 5:54 pm
]]>