KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Flags for ai_flags in struct addrinfo More...
Macros | |
#define | AI_PASSIVE 0x00000001 |
Address intended for bind(). | |
#define | AI_CANONNAME 0x00000002 |
Request canonical name. | |
#define | AI_NUMERICHOST 0x00000004 |
Inhibit host resolution. | |
#define | AI_NUMERICSERV 0x00000008 |
Inhibit service resolution. | |
#define | AI_V4MAPPED 0x00000010 |
Return v4-mapped IPv6 addrs. | |
#define | AI_ALL 0x00000020 |
Query for both IPv4 and IPv6. | |
#define | AI_ADDRCONFIG 0x00000040 |
Only query for IPv4/IPv6 addrs the system has a valid addr. | |
Flags for ai_flags in struct addrinfo
These are the flags that can be set in the ai_flags field of struct addrinfo. These values can be bitwise ORed together.
Currently only AI_PASSIVE is actually supported by the getaddrinfo() function.
#define AI_ADDRCONFIG 0x00000040 |
Only query for IPv4/IPv6 addrs the system has a valid addr.
#define AI_ALL 0x00000020 |
Query for both IPv4 and IPv6.
#define AI_CANONNAME 0x00000002 |
Request canonical name.
#define AI_NUMERICHOST 0x00000004 |
Inhibit host resolution.
#define AI_NUMERICSERV 0x00000008 |
Inhibit service resolution.
#define AI_PASSIVE 0x00000001 |
Address intended for bind().
#define AI_V4MAPPED 0x00000010 |
Return v4-mapped IPv6 addrs.