Gnulib module: getsockopt
Portability problems fixed by Gnulib:
WSAGetLastErrormust be used instead.
_HPUX_ALT_XOPEN_SOCKET_APIis not defined, this function behaves incorrectly because it is declared to take a pointer to a 64-bit wide
socklen_tentity but in fact considers it as a pointer to a 32-bit wide
Portability problems not fixed by Gnulib:
socklen_ttype; in this case this function’s fifth argument type is ‘int *’.