Add mboxes

This commit is contained in:
Alex Young
2012-06-27 15:45:33 +01:00
parent 2078d17053
commit 94b4fa887c
34 changed files with 2534 additions and 1599 deletions

View File

@@ -20,7 +20,11 @@ rescue Timeout::Error
exit 1
end
Timeout.timeout( 2 ) do
Timeout.timeout( 3 ) do
# Sleep to be sure we don't try to connect too soon. That wouldn't
# be a problem for the destination, but it would prevent us from
# determining success or failure here.
sleep 0.5
sock = TCPSocket.open( addr, port.to_i )
sock.close
end