How to obtain the remote client IP address when using the Ethernet Shield

Zoomcat,

You've not put the client.getRemoteIP(rip); line in to actually read the remote IP prior to printing it.

[color=red]client.getRemoteIP(rip); // this is the code that actually puts the IP into the variable rip[/color]
for (int bcount= 0; bcount < 4; bcount++)
     { 
        Serial.print(rip[bcount], DEC); 
        if (bcount<3) Serial.print("."); else Serial.println();
     }