From: Michael Neumann Date: 2000-07-14T19:07:21+02:00 Subject: [ruby-talk:04023] Re: Thread and File do not work together With ruby 1.4.5 (2000-06-26) [i386-cygwin] it works but not with ruby 1.4.5 (2000-06-26) [i386-mswin32]. But that's no problem (for me), I'll use cygwin. Thanks. Michael From: "Dave Thomas" > "Michael Neumann" 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 >