Ethernet shield and log file

Hi, i'm programming an http server on my arduino uno... I need to create a log file but i can't find a fuction which gets me the client's ip... Someone could help me? PS i'm from italy :)

This is the same question, http://forum.arduino.cc/index.php/topic,37565.0.html Someone changed the library to get the clients IP.

It seems that the "remoteIP()" is in the UDP class, but not in the normal HTTP class. http://arduino.cc/en/Reference/Ethernet

Thank you :) I'll try it :)

The below has a fairly simple method to get the client IP address.

http://forum.arduino.cc/index.php/topic,82416.0.html

MaxFrax, that library is rather old. I would not use it.

zoomkat, I was looking at the source code, and the changes in that link seems to be the proper way to get the client IP. However, every time a new version of Arduino is out, I have to adapt the library. Such a function should be in the library by default. I also tried to get the client IP number without changing the libraries (declaring external W5100 class and so), but that did not compile.

There has been another version of getting the client IP address has been posted by SurferTim, but don't have a link to that posting.

Another version ? I can only find the same version. Adding “readSnDIPR()” to the library.

Erdin: Another version ? I can only find the same version. Adding "readSnDIPR()" to the library. http://forum.arduino.cc/index.php?topic=135261.0 http://forum.arduino.cc/index.php?topic=74660.msg563006#msg563006

What happens may be the same, the modification of the library files to get there might be different.

http://forum.arduino.cc/index.php/topic,135082.0.html

Thank you :) So i'll try SurferTim's code?