2 @section @code{getpeername}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getpeername.html}
7 Gnulib module: getpeername
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), error codes for
13 @code{getpeername} are not placed in @code{errno}, and
14 @code{WSAGetLastError} must be used instead.
17 Portability problems not fixed by Gnulib:
20 Some platforms don't have a @code{socklen_t} type; in this case this function's
21 third argument type is @samp{int *}.