From: "U.Nakamura" Date: 2011-01-17T09:51:08+09:00 Subject: [ruby-core:34532] Re: Windows sockets and CRT fds Hello, In message "[ruby-core:34509] Re: Windows sockets and CRT fds" on Jan.15,2011 06:49:55, wrote: > Who is the author of the _open_osfhandle code? "svn ann" will show you it. > I'm not sure which parts you're saying need to be rewritten for Unix > and Windows. Currently there needs to be different code for Unix and > Windows, because a socket handle you might come across on Windows has > to be adapted to the sort of fd that ruby uses. After the hypothetical > switch to using regular Windows sockets in Ruby, you could take a > socket handle from anywhere and select on it in Ruby and have no > Windows specific code (except inside of Ruby). So, I only see it > reducing the amount of platform specific code (and bugs) in > extensions. If you think so, could you show the patch that shows the concept? Especially, I want know how about the main body of ruby, ext/socket, and ext/openssl. Regards, -- U.Nakamura