Connection close error when unplug Ethernet cable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connection close error when unplug Ethernet cable

508 Views
creatorwonny
Contributor III

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?

connection abort.PNG

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?

Labels (1)
0 Kudos
1 Reply

466 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi JIWON KIM ,

   This question is the repeat question as you another post:

Why Ethernet cable unplugging cause connection error to TCP client? 

  Let's still talk about it in your another post, thanks.

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos