How to detect loss of ethernet network?

I have an Ethernet shield and am using the standard Ethernet library.

What is the best way to detect that for example the network is no longer available?

If I pull a cable out of my PC it knows pretty quickly that it is not there any more.

Is there a status I can check for?


You should probably look in the WizNet W5100 datasheet to see how to check the Ethernet status.

The w5200 has a PHYSTATUS register to determine if the interface link is up or not. I do not believe the w5100 has that feature.

Probably a bit of my conform zone - I was hoping there was a quick and simple method.