Forum: Ruby Unix file desciptors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2c4c7db89af5d03367e81fad6c32a309?d=identicon&s=25 Lorenzo Chomp (Guest)
on 2006-03-15 04: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
internals.
     Does somebody know something about this? Thanks.
This topic is locked and can not be replied to.