# Disconnected ethernet cable

**URL:** <https://forums.digi.com/t/disconnected-ethernet-cable/5696>\
**Category:** NET+OS\
**Created:** [May 13, 2005, 11:37am UTC](https://forums.digi.com/t/disconnected-ethernet-cable/5696 "2005-05-13T11:37:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristiano](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@cristiano](https://forums.digi.com/u/cristiano)\
**Post date:** [May 13, 2005, 11:37am UTC](https://forums.digi.com/t/disconnected-ethernet-cable/5696/1 "2005-05-13T11:37:30Z")

</div>

Is there a method to identify if cable ethernet is disconnected? I have implemented a socket server that waits data from a client (using NS7520 with NetOS 6.0). When I disconnect the cable, server remains blocked by the recv function that doesn’t return. Thanks!!

---

<div class="post-metadata">

**Author:** ![Alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex](https://forums.digi.com/u/Alex)\
**Post date:** [May 13, 2005, 1:18pm UTC](https://forums.digi.com/t/disconnected-ethernet-cable/5696/2 "2005-05-13T13:18:21Z")

</div>

Hi Cristiano, you have to read the status register from your PHY. A PHY has normally a register which contains this information. We are using the PHY from Intel (LX971A) . For this IC you can find the information in register 17.10 (Link is up/down). Kind regards Alex

---

<div class="post-metadata">

**Author:** ![cristiano](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@cristiano](https://forums.digi.com/u/cristiano)\
**Post date:** [May 13, 2005, 2:47pm UTC](https://forums.digi.com/t/disconnected-ethernet-cable/5696/3 "2005-05-13T14:47:33Z")

</div>

Thank you very much!!!
