This will have the side-effect of making things not work if somebody happens to be using IPv6 only and they also do not specify an address to listen on, so a future enhancement might be to detect that situation and do the right thing in that case too.
This will have the side-effect of making things not work if somebody happens to be using IPv6 only and they also do not specify an address to listen on, so a future enhancement might be to detect that situation and do the right thing in that case too.