From: ts Date: 2001-09-25T02:10:05+09:00 Subject: [ruby-talk:21639] Re: How to tell if port is in use... >>>>> "W" == William Sobel writes: W> I did not find any reference to the TIME_WAIT state issue. The only W> case that Wright and Stevens alluded to was when two sockets were W> connected to the same port but on two different IP addresses. As in W> the case of telnet where one socket is attached to (192.163.1.25, 23) W> and another socket is attached to (127.0.0.1, 23). This is allowed W> only if SO_REUSEADDR is set. You can find it in the socket FAQ, for example at http://www.unixguide.net/network/socketfaq/4.5.shtml Guy Decoux