[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] ssh_bind_listen() does not fail in windows when port is in use


On 22.03.19 00:15, Alberto Garcia wrote:
> The socket has the SO_REUSEADDR so it does not fail when it is in use.
> I don't know why that's set. Does anyone knows what is the intention
> of it?

Look here:
https://stackoverflow.com/questions/577885/what-are-the-use-cases-of-so-reuseaddr

I think it's for the reason the guy there explains: To be able to
reconnect to the same socket without having to wait until TIME_WAIT
state is over.


Follow-Ups:
Re: [BUG] ssh_bind_listen() does not fail in windows when port is in useAlberto Garcia <agarciaillera@xxxxxxxxx>
References:
[BUG] ssh_bind_listen() does not fail in windows when port is in useAlberto Garcia <agarciaillera@xxxxxxxxx>
Re: [BUG] ssh_bind_listen() does not fail in windows when port is in useAlberto Garcia <agarciaillera@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org