Forum: Ruby Unix file desciptors

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Lorenzo Chomp (Guest)
on 2006-03-15 05:36
(Received via mailing list)
Hi! I'm new on this list, and right now I'm wondering something... Does
somedy know if Ruby streams are Unix File Descriptor's compatible? I
need to use a file descriptor opened by another process (a daemon
written in C). I'm reading about the IO class, it seems to have a method
that allows creating an IO object using a file descriptor (an integer)
as a parameter. But I see that File has something similar (I guess that
Files is a subcclass of IO). I'm new at Ruby, so I'm not sure about its
     Does somebody know something about this? Thanks.
This topic is locked and can not be replied to.