the esp8266 can connect to the server(PC) successfully.
but when i close the socket from PC side, it seems the esp8266 don't enter the "TcpReconnectCb" or "TcpClientDisConnect" call back funtion.
and instead,the esp8266 print follow debug message:
Code: Select all
espconn_client_recv, espconn_client_close, err:0, p: 0
espconn_client_close, close
whats the problem? i want to realize the tcp client reconnect to the server automatically when socket disconnect occur.
thanks