From: Hal Fulton Date: 2004-04-21T17:24:09+09:00 Subject: Re: UNIXSocket#send_io and #recv_io Thanks for replying... see below. nobu.nokada@softhome.net wrote: >>Someone pointed these out to me yesterday, and said they were >>currently not implemented... I haven't played with it yet >>myself, but I assume it's the same on my system. > > Implemented in 1.7. > > $ ruby-1.8 -v -rsocket -e 'p UNIXSocket.instance_methods.grep(/(recv|send)_io/)' > ruby 1.8.1 (2004-04-19) [i686-linux] > ["send_io", "recv_io"] But are they operational? There are several conditional defines in socket.c, ending with: #else rb_notimplement(); return Qnil; /* not reached */ #endif My impression was that my friend was getting the "not implemented" message... but I see now that the return is marked "not reached." Hmm, maybe a compile error on his box? Anyhow, are these methods documented anywhere? Thanks, Hal