Global Information Lookup Global Information

Getaddrinfo information


In C programming, the functions getaddrinfo() and getnameinfo() convert domain names, hostnames, and IP addresses between human-readable text representations and structured binary formats for the operating system's networking API. Both functions are contained in the POSIX standard application programming interface (API).[1]

getaddrinfo and getnameinfo are inverse functions of each other. They are network protocol agnostic, and support both IPv4 and IPv6. It is the recommended interface for name resolution in building protocol independent applications and for transitioning legacy IPv4 code to the IPv6 Internet.

Internally, the functions may use a variety of resolution methods not limited to the Domain Name System (DNS). The Name Service Switch is commonly used on Unix-like systems and affects most implementation of this pair as it did with their BSD-socket era predecessors.[2]

  1. ^ "freeaddrinfo, getaddrinfo - get address information". The Open Group Base Specifications Issue 7, 2018 edition (POSIX.1-2017). The Open Group. Retrieved 2022-03-05.
  2. ^ "nss - man pages section 5: File Formats". docs.oracle.com.

and 4 Related for: Getaddrinfo information

Request time (Page generated in 0.506 seconds.)

Getaddrinfo

Last Update:

In C programming, the functions getaddrinfo() and getnameinfo() convert domain names, hostnames, and IP addresses between human-readable text representations...

Word Count : 1155

Berkeley sockets

Last Update:

gethostbyaddr() are used to resolve host names and addresses. IPv4 only. getaddrinfo() and freeaddrinfo() are used to resolve host names and addresses. IPv4...

Word Count : 3512

Happy Eyeballs

Last Update:

RFC 8305. Proposed Standard. Obsoletes RFC 6555. Stenberg, Daniel. "getaddrinfo with round robin DNS and happy eyeballs". daniel.haxx.se. Retrieved 2012-01-15...

Word Count : 438

Glibc

Last Update:

include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more. The glibc project...

Word Count : 2372

PDF Search Engine © AllGlobal.net