[Bug 14831] ws2_32:sock fails in Solaris, but not Linux