Non-Blocking Ethernet Library

Hello Surfer Tim,

Just wondering if there is a way to "overcome" a failed DHCP request. I have a program running that happily connects to the intended surfer and when the ethernet cable gets unplugged in it just spins connect-disconnect etc, AND the rest of the sketch keeps running LCD sensors LED's etc.. So happy days there..
The issue that I have is when the Arduino -(Mega with Ethernet shield- w5100)- gets restarted and there is no Ethernet connection available like after a power failure, The sketch stalls completely.

Only after a restart WITH the router booted up will the unit resume its intended function, I hope that you would have some ideas how to tweak

( I read a post by http://gkaindl.com/software/arduino-ethernet/dhcp that eluded to a mod of the dhcp.h file?

I am trying to achieve that the sketch runs -except the web connection- but when one becomes available it then eventually connects...

I'd be very grateful if you would be able to share your insights..

Erick