Value | Meaning |
---|---|
AI_PASSIVE0x0001 | Socket address is intended for bind |
AI_CANONNAME0x0002 | Request for canonical name. |
AI_NUMERICHOST0x0004 | Don't use name resolution. |
AI_V4MAPPED0x0008 | IPv4 mapped addresses are acceptable. |
AI_ALL0x0010 | Return IPv4 mapped and IPv6 addresses. |
AI_ADDRCONFIG0x0020 | Use configuration of this host to choose returned address type. |
AI_NUMERICSERV0x0400 | Don't use name resolution. |
AI_MASK(AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | AI_ADDRCONFIG) | |
AI_DEFAULT(AI_V4MAPPED | AI_ADDRCONFIG) |