bug-hurd
[Top][All Lists]
Advanced

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

Re: GNUstep - check for reuse address


From: Samuel Thibault
Subject: Re: GNUstep - check for reuse address
Date: Fri, 8 Jan 2016 16:43:10 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Pino Toscano, on Fri 08 Jan 2016 16:40:08 +0100, wrote:
> In data venerdì 8 gennaio 2016 13:34:46, Samuel Thibault ha scritto:
> > Svante Signell, on Fri 08 Jan 2016 13:27:49 +0100, wrote:
> > > > Depends on how the test is made. SO_REUSEADDR is defined in 
> > > > bits/socket.h but
> > > > is
> > > > not functional (yet).
> > > 
> > > To clarify; For pflocal. For pfinet it should work.
> > 
> > Ok.  It seems to be accepted for local sockets on Linux, but it doesn't
> > do anything.  I don't see what it would be supposed to mean anyway, so
> > gnustep should really not be using that for local sockets.
> 
> IIRC it should unlink the existing socket path before trying to bind the
> unix socket to the specified path -- otherwise you'd get EADDRINUSE.

Yes. And SO_REUSEADDR won't help there :)

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]