From: Sam Roberts Date: 2004-03-23T05:27:14+09:00 Subject: Re: Complete Ruby API? Wrote Kristian S�rensen , on Tue, Mar 23, 2004 at 05:19:29AM +0900: > >Why didn't I just try ... socket.addr did the trick :) > .... it actually didn't do the trick :-/ The socket.addr returns the > local address of the ip-address. Do any of you know how to get the > remote/connecting ip? (the actual server source is attached - 65 lines) IPSocket#peeraddr(), perhaps? See http://www.ruby-doc.org/docs/ProgrammingRuby/ Cheers, Sam -- Sam Roberts