From: Tim Conner Date: 2007-12-16T01:19:44+09:00 Subject: Re: Question about sockets/listeners Gary Wright wrote: > You should close the socket after receiving a response. Sorry, I should have said, I am expecting mulitple responses from the server and hence I want to keep the socket open. Gary Wright wrote: > You main thread may be existing before all the threads have been started. The threads shouldn't be exiting because I have the 'while true' in there. I have just tried joining the threads and it didn't fix it. It might be the file descriptor thing, i'll have to have a read up about it. Thanks -- Posted via http://www.ruby-forum.com/.