AI_PASSIVE

Undocumented in source.

Values

ValueMeaning
AI_PASSIVE0x0008

intended for bind() + listen()

AI_CANONNAME0x0010

return canonical version of host

AI_NUMERICHOST0x0020

use numeric node address string

AI_NUMERICSERV0x0040

servname is assumed numeric

AI_V4MAPPED0x0001

IPv4 mapped addresses if no IPv6

AI_ALL0x0002

IPv6 and IPv4 mapped addresses

AI_ADDRCONFIG0x0004

AAAA or A records only if IPv6/IPv4 cnfg'd

AI_MASK(AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | AI_ADDRCONFIG)
AI_DEFAULT(AI_V4MAPPED | AI_ADDRCONFIG)

Meta