Reconnecting to Ethernet

I don't know if you are using client or server, but this client code downloads google every 10 seconds. It does ok if you unplug the cable, wait a few fails, then plug it in again.

Don't do that to Google too long. Change it to your server ip.