AnsweredAssumed Answered

Connection close error when unplug Ethernet cable

Question asked by JIWON KIM on May 10, 2020
Latest reply on May 12, 2020 by Kerry Zhou

Hi

 

I'm developing software using IMXRT 1060 EVK. Currently, I'm developing codes to operate normally when Ethernet cable disconnected or plug in during running. It seems the network connection closed as soon as I unplug the cable. For testing this error, I used the tcpecho example from SDK and connect to the tcp server using Putty. Once I unplug cable a following error message pop up and the connection closed. Is it right?

 

What I want is to keep the connection open regardless of the cable is disconnected or reconnected. I tested it using other board (i.MX 6 SoloX SABRE) and this error didn't happen. I don't know what is different. What should I do or check to make the connection remained open without the error?

Outcomes