Waits until all combination of hosts and ports are opened.
bash
cargo install wait-for-them
bash
wait-for-them host1:port1 host2:port2
wait-for-them -t 5000 host1:port1 host2:port2
Note that it returns a number of unopened host:port combinations.
So if it worked ok it returns standard 0
.