[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
[Thread Prev] | [Thread Next]
- Subject: Re: [BUG] ssh_bind_listen() does not fail in windows when port is in use
- From: g4-lisz@xxxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 22 Mar 2019 00:40:11 +0100
- To: libssh@xxxxxxxxxx
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.
Re: [BUG] ssh_bind_listen() does not fail in windows when port is in use | Alberto Garcia <agarciaillera@xxxxxxxxx> |
[BUG] ssh_bind_listen() does not fail in windows when port is in use | Alberto Garcia <agarciaillera@xxxxxxxxx> |
Re: [BUG] ssh_bind_listen() does not fail in windows when port is in use | Alberto Garcia <agarciaillera@xxxxxxxxx> |