"Michael Neumann" <neumann / s-direktnet.de> writes:

> But in the following example the programm hangs after printing out
> some lines (~80 on my system).  To try it, first start this script,
> then execute "telnet 127.0.0.1 1000".  Could it be, that "gs.accept"
> (1) blocks the output (2)?

Unfortunately, it worked fine for me. I had to change the port number
(as 1000 is a privileged port under Linux), but after that it quite
merrily dumped out a 300 line file every time I connected.

I'm running ruby 1.5.4 (2000-07-14) [i686-linux]


Regards


Dave