---
title: "Reset after ethernet cable unplugged?"
url: "https://maker.wiznet.io/forum/14406"
markdown_url: "https://maker.wiznet.io/forum/14406/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "allenhuffman"
created: "2021-12-01T20:53:58+09:00"
last_activity: "2021-12-01T20:53:58+09:00"
language: "en"
views: 510
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Reset after ethernet cable unplugged?

## Question

Asked by allenhuffman on 2021-12-01 in Ethernet Chips.

I have a TCP server running on a W5500 io module.

If we unplug the ethernet cable during a connection, the PC can not re-connect to the W5500 until a power cycle.

I have found wizphy_getphylink() to detect link status. Is there some extra code I need to add to recover from a cable disconnect?

My code is based on the http server example.

Thank you.

---

Source: https://maker.wiznet.io/forum/14406
