From: Kero van Gelder Date: 2003-04-03T06:53:08+09:00 Subject: Re: gets from socket got eof (multithread) > @session=TCPSocket.new(mypopserver,110) > while resp=@session.gets do > blah blah > end > > It worked perfect in single user mode. While I put the code into a thread, I > encountered problem: a lot of thread got resp=nil, and jumped out of the > while loop. You'll have to tell a bit more. how many sockets do you open? and how many threads? I don't want to know what Ruby does when those two numbers are unequal... Bye, Kero.