2011/7/30 Tanaka Akira <akr / fsij.org>:

> I expected such code in client socket library because
> socket library doesn't provide timeout feature (and Timeout exception class).

On second thought, Errno::ETIMEDOUT can be a candidate.

> I remember multiple IP addresses issue.
> The behavior of timeout is not clear if two or more IP addresses are
> given for a hostname.

This is still a problem.
-- 
Tanaka Akira