Maybe this post is too long to read. Let me make it simple.

General speaking, I think  it is likely a bug of ruby's socket library.
It seems that a resource leak happens every time TCPSocket.new failed.

Do you agree it is a bug? Or I misunderstood something. Any opinion is
highly appreciated.



-- 
Posted via http://www.ruby-forum.com/.