New modules 'accept', 'bind', 'connect', 'getpeername', 'getsockname', 'getsockopt...
[gnulib.git] / doc / posix-functions / getsockopt.texi
1 @node getsockopt
2 @section @code{getsockopt}
3 @findex getsockopt
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/getsockopt.html}
6
7 Gnulib module: getsockopt
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 On Windows platforms (excluding Cygwin), error codes for @code{accept} are not
13 placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
14 @end itemize
15
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @item
19 This function is missing on some platforms:
20 BeOS.
21 @item
22 Some platforms don't have a @code{socklen_t} type; in this case this function's
23 fifth argument type is @samp{int *}.
24 @item
25 Many socket options are not available on all platforms.
26 @item
27 BeOS has the @code{setsockopt} function, but not the @code{getsockopt}
28 function.
29 @end itemize