From: Martin Ceronio Date: 2009-02-26T21:47:29+09:00 Subject: Re: Thread IO The other thing to note is that this does not happen with TCPSocket (again on Windows in my case), because the following works for me: require 'socket' require 'gserver' class MyServer < GServer def initialize(port=9876, *args) super(port, *args) end def serve(io) puts io.gets stop end end server = MyServer.new.start TCPSocket.new("localhost", 9876) << "I have found you!\n" server.join So other than the pipes and the sockets, is there another IO object I can use to communicate between two threads? -- Posted via http://www.ruby-forum.com/.