From: Andre Nathan Date: 2006-09-06T01:46:28+09:00 Subject: Re: C socket to Ruby socket On Wed, 2006-09-06 at 01:02 +0900, Francis Cianfrocca wrote: > does it need to be a Socket? class IO can be initialized with a file descriptor. You mean rb_io_initialize()? It would be nice if it was a socket, and even better if there was a way to find out if it is a TCPSocket or a UDPSocket, since it's always a network connection (no UNIXSocket, for example). Thanks, Andre