summaryrefslogtreecommitdiff
path: root/doc/posix-functions/getaddrinfo.texi
blob: 8c2bc7f0dc1f3b5ce1895e1d03f8d1daab4c7a79 (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
@node getaddrinfo
@section @code{getaddrinfo}
@findex getaddrinfo

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html}

Gnulib module: getaddrinfo

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
HP-UX 11.11, IRIX 6.5, Cygwin 1.5.x, mingw, MSVC 14.
@item
On Windows, this function is declared in @code{<ws2tcpip.h>} rather than in
@code{<netdb.h>}.
@item
On Windows, in 32-bit mode, this function is defined with a calling convention
that is different from @code{cdecl}.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
Unlike glibc's implementation, gnulib's replacement does not support
internationalized domain names (IDN) encoding.
@end itemize