Jos Backus wrote: > On Wed, Oct 20, 2004 at 07:43:31AM +0900, Yukihiro Matsumoto wrote: > >>Hi, >> >>In message "Re: TCPSocket.new(host, port).readline hangs on Windows" >> on Wed, 20 Oct 2004 07:31:32 +0900, Jos Backus <jos / catnook.com> writes: >> >>|With recent CVS versions (both ruby_1_8 branch and HEAD), the following >>|command hangs on Windows 2003 Server: >>| >>| ruby -rsocket -e 'p TCPSocket.new("myhost", port).readline' >>| >>|The new succeeds but the readline just hangs. >> >>Can you show us your 'ruby -v' line? Reports from others would be >>appreciated too. > > > ruby 1.8.2 (2004-10-19) [i386-mswin32] > > Also fails with the latest once-click installer. But works on Windows XP SP2. I have a win2k box: c:\>ruby -v ruby 1.8.2 (2004-07-29) [i386-mswin32] (This is a one-click install) and can run this OK (I have a mail proxy running) c:\> ruby -rsocket -e 'p TCPSocket.new("james3480", 110 ).readline' "+OK SAproxy ready, send USER name:host[:port]\r\n" Trying port 80, with a web server running, hangs. James