SurferTim:
This pulls the w5100 CS low three times also.//pull low clatch three times
digitalWrite(ETHCS, LOW);
digitalWrite(ETHCS, HIGH);
digitalWrite(ETHCS, LOW);
digitalWrite(ETHCS, HIGH);
digitalWrite(ETHCS, LOW);
digitalWrite(ETHCS, HIGH);
//end pull low clatch three times
Not sure who this is meant for Tim but in case it was me the OP's original code pulled SS low 3 times but on the third low went straight into SPI transfer hence my suggestion to do the final high to finish with.