First page Back Continue Last page Overview Graphics
Options of getaddrinfo() (1)
ai_flags
- AI_PASSIVE: socket address returned from the function will be used for bind().
- switch for nodename==NULL
- AI_CANONNAME: Request canonical name of the node
- Result stored in the first element in the list
- AI_NUMERICHOST / AI_NUMERICSERV: Assume nodename / servname as numeric address and do not look up nodename / servname
- AI_ADDRCONFG: Search for addresses if local address for the corresponding protocol is available
Notes: