Si è stato aggiunto un close_wait nella EthernetClient.cpp come descritto qui http://arduino.cc/forum/index.php/topic,94572.0.html
il dettaglio della patch è a pagina 9 ... comunque non ha risolto, si freeza sempre
int EthernetClient::connect(IPAddress ip, uint16_t port) {
if (_sock != MAX_SOCK_NUM)
return 0;
for (int i = 0; i < MAX_SOCK_NUM; i++) {
uint8_t s = W5100.readSnSR(i);
if (s == SnSR::CLOSED || s == SnSR::FIN_WAIT || s == SnSR::CLOSE_WAIT) {
_sock = i;
break;
}
}