[#3479] Missing .document files for ext/ libraries — Brian Candler <B.Candler@...>

The ri documentation for zlib, strscan and iconv doesn't get built by 'make

12 messages 2004/10/06

[#3492] Re: ANN: Free-form-operators patch — Markus <markus@...>

> In message "Re: ANN: Free-form-operators patch"

15 messages 2004/10/11
[#3493] Re: ANN: Free-form-operators patch — Yukihiro Matsumoto <matz@...> 2004/10/11

Hi,

[#3495] Re: ANN: Free-form-operators patch — Markus <markus@...> 2004/10/12

On Mon, 2004-10-11 at 16:16, Yukihiro Matsumoto wrote:

[#3561] 1.8.2 - what can we do to help? — Dave Thomas <dave@...>

Folks:

23 messages 2004/10/26
[#3562] Re: 1.8.2 - what can we do to help? — Yukihiro Matsumoto <matz@...> 2004/10/27

Hi,

Re: TCPSocket.new(host, port).readline hangs on Windows

From: Jos Backus <jos@...>
Date: 2004-10-21 16:24:38 UTC
List: ruby-core #3547
On Fri, Oct 22, 2004 at 12:26:47AM +0900, James F. Hranicky wrote:
> On Wednesday 20 October 2004 02:48, James Britt wrote:
> 
> > 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
> 
> Doesn't the web server require you ask for a URL? This works for me:
 
That's what I thought. There's nothing to read as the webserver doesn't write
anything initially, hence the readline simply blocks.

>   ruby -rsocket -e 'TCPSocket.open("www.cise.ufl.edu", 80) { |s| 
>     s.puts "GET / HTTP/1.0\n\n"; 
>     while str = s.gets do puts str end 
>   }'

So on Windows 2000 it appears to work as well.

Are there any people that can confirm that it doesn't work on Windows 2003
Server? The fact that the Putty psftp.exe client works seems to suggest that
the problem is specific to the Ruby interpreter, not Windows 2003 or the way
Windows 2003 is configured here at work (I tried this on different machines).

Thanks people!

> Jim

-- 
Jos Backus                       _/  _/_/_/      Sunnyvale, CA
                                _/  _/   _/
                               _/  _/_/_/
                          _/  _/  _/    _/
jos at catnook.com        _/_/   _/_/_/          require 'std/disclaimer'

In This Thread

Prev Next