2 @section @code{getpeername}
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/getpeername.html}
7 Gnulib module: getpeername
9 Portability problems fixed by Gnulib:
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.
16 Portability problems not fixed by Gnulib:
19 Some platforms don't have a @code{socklen_t} type; in this case this function's
20 third argument type is @samp{int *}.