Subject: Re: bug#23615: 25.1.50; Which platforms can safely use getsockopt(,,SO_ERROR,,)?

From: Eli Zaretskii <[email-masked]>
Date: Sat, 28 May 2016 20:48:45 +0300

> Cc: [email-masked]
> From: Ken Brown <[email-masked]>
> Date: Sat, 28 May 2016 13:18:27 -0400
> 
> > With MinGW, I get this instead:
> >
> >   D:\usr\eli\data>socket_test
> >   Server listening on port 2213.
> >   Attempting client connection...success.
> >
> > Do we have to have a failure in this case?  Or is the above a valid
> > outcome?
> 
> It's a valid outcome.  I think the reason the connection is refused on 
> Cygwin (and apparently on RHEL 7.2) is that the first addrinfo structure 
> returned by getaddrinfo has an IPv6 address.  There's no reason to 
> expect this to happen on all platforms.

OK, thanks.  So hopefully others will chime in with results from other
platforms.