From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-10-15T04:23:49+09:00 Subject: [ruby-talk:22524] Re: Socket and inetd In article <20011013131947.147b876f.mike@lepton.fr>, Michael Witrant wrote: >Hello, > >I'm working on a ruby daemon running through inetd. >Inetd opens the script with STDIN and STDERR replaced by dups of the >socket. It works fine, but I'd like to retreive the remote address. >Since Ruby consider these as IO objects, I can't call peeraddr. > When you get this all working, could you post the code and the line in the inetd.conf file that makes it all work? Thanks. Phil