From: "H.Yamamoto" Date: 2005-07-25T11:11:44+09:00 Subject: Re: [ ruby-Bugs-2131 ] ruby ( v183) bcc32: using Socket.new with timeout -> files not closed ># _close calls CloseHandle for socket, and closesocket is called after the call. ># We should not close the handle twice anyway. ... At least on Windows98. this seems to be needed on Win2000. http://support.microsoft.com/kb/185727/EN-US/ I'm confusing a little. - Win2000: _open_ofshandle for socket is legal, and should call closesocket() too? - Win98: _open_osfhandle for socket is illegal?