Kristian Søòensen wrote: > Simon Strandgaard wrote: > >> On Sun, 21 Mar 2004 21:20:15 +0100, Kristian Søòensen wrote: >> >>> Is there no other API for Ruby than the one on >>> http://www.rubycentral.com/book/builtins.html ? >>> >>> This one does not hold all information on Classes from the standard >>> lib... :-/ For example is "socket" missing. >>> >> >> >> 'builtins' is just one chapter of the pickaxe book, there >> is other chapters, for instance have a look at: >> http://www.rubycentral.com/book/lib_network.html >> >> >> BTW: I see you are from denmark.. ;-) > > I lige méÅe :) > > Thanks for your answer! > > I am playing (just for fun) with a small webserver... For logging > purposes, is there any way to get the IP address from the "remote" > computer from a TCPSocket? Why didn't I just try ... socket.addr did the trick :)