summaryrefslogtreecommitdiff
path: root/modules/getpeername
blob: 4cdae38e2e0379219c60a5122948d24d3137bf38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description:
getpeername() function: return information about the remote end of a connected
socket.

Files:
lib/getpeername.c
lib/w32sock.h

Depends-on:
sys_socket
errno           [test "$ac_cv_header_winsock2_h" = yes]

configure.ac:
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
if test "$ac_cv_header_winsock2_h" = yes; then
  AC_LIBOBJ([getpeername])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])

Makefile.am:

Include:
<sys/socket.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson