KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
addrinfo ai_flags

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.
 

Detailed Description

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.

Macro Definition Documentation

◆ AI_ADDRCONFIG

#define AI_ADDRCONFIG   0x00000040

Only query for IPv4/IPv6 addrs the system has a valid addr.

◆ AI_ALL

#define AI_ALL   0x00000020

Query for both IPv4 and IPv6.

◆ AI_CANONNAME

#define AI_CANONNAME   0x00000002

Request canonical name.

◆ AI_NUMERICHOST

#define AI_NUMERICHOST   0x00000004

Inhibit host resolution.

◆ AI_NUMERICSERV

#define AI_NUMERICSERV   0x00000008

Inhibit service resolution.

◆ AI_PASSIVE

#define AI_PASSIVE   0x00000001

Address intended for bind().

◆ AI_V4MAPPED

#define AI_V4MAPPED   0x00000010

Return v4-mapped IPv6 addrs.