From: "Jan E." Date: 2012-08-27T08:13:35+09:00 Subject: Re: Threading methods & args Hi, This makes no sense. What you're doing is create a single thread at the end of the code. How is this thread supposed to create any concurrency? It probably won't even run, because the main thread will exit at pretty much the same time. What you probably want to do is create the socket objects in separate threads. So do it: Thread.new do s = TCPSocket.new ... ... end But you must save the thread objects in an array and call "join" for each of them in the main thread. This will make the main thread wait for the socket threads to finish. -- Posted via http://www.ruby-forum.com/.