2 @section @code{getsockopt}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html}
7 Gnulib module: getsockopt
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), error codes for
13 @code{getsockopt} are not placed in @code{errno}, and
14 @code{WSAGetLastError} must be used instead.
17 Portability problems not fixed by Gnulib:
20 This function is missing on some platforms:
23 Some platforms don't have a @code{socklen_t} type; in this case this function's
24 fifth argument type is @samp{int *}.
26 Many socket options are not available on all platforms.
28 BeOS has the @code{setsockopt} function, but not the @code{getsockopt}