Subject: Re: bind() should not return -EADDRINUSE

From: Phillip Susi <[email-masked]>
Date: Thu, 11 Dec 2014 16:34:14 -0500

On 12/11/2014 3:25 PM, David Miller wrote:
> You will definitely break programs that look for a locally
> available port by iterating over bind() calls.
> 
> Sorry, this is not changing, no matter how strongly you may wish
> it to.

According to this very nice post, it is how BSD does it, at least when
you specify SO_REUSEADDR:

http://stackoverflow.com/a/14388707/884259