OSDir


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

EXTERNAL: OSError: [Errno 48] Address already in use


On Wed, Jun 27, 2018 at 10:31 PM, Marko Rauhamaa <marko at pacujo.net> wrote:

> Dan Stromberg <drsalists at gmail.com>:
> >> > The problem can be solved by turning on the SO_REUSEADDR flag of
> >> > the socket.
> > BTW, it's a security feature you're turning off. If you're on a
> > multiuser box, it prevents a second user from stealing lingering
> > connections from a first user on the same port.
>
> Can you provide a brief proof of concept?
>
https://stackoverflow.com/questions/19960475/problems-related-to-so-reuseaddr