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

From: Ken Brown <[email-masked]>
Date: Thu, 2 Jun 2016 13:17:34 -0400

On 6/2/2016 12:00 PM, Paul Eggert wrote:
> On Solaris 10 on a host with only IPv4 configured, socket_test.c fails
> with the diagnostic "Can't start server." 'truss' says connect(3,
> 0x00021EE8, 16, SOV_DEFAULT) failed with errno == EOPNOTSUPP.
>
> On Solaris 11 with both IPv4 and IPv6, the same symptoms except errno ==
> EADDRNOTAVAIL.

Thanks for testing.  This means that my test program is not portable 
enough to answer the question in the subject; the failure occurred 
before the program reached the getsockopt call.  I'll see if I can fix that.

Ken