getsockopt
==========

POSIX specification: http://www.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html

Gnulib module: getsockopt

Portability problems fixed by Gnulib:

  * On Windows platforms (excluding Cygwin), error codes for getsockopt are not placed in errno, and WSAGetLastError must be used instead.

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: BeOS.

  * Some platforms don't have a socklen_t type; in this case this function's fifth argument type is int *.

  * Many socket options are not available on all platforms.

  * BeOS has the setsockopt function, but not the getsockopt function.