KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
addrinfo Struct Reference

Network address information structure. More...

#include <netdb.h>

Data Fields

int ai_flags
 Input flags. More...
 
int ai_family
 Socket address family. More...
 
int ai_socktype
 Socket type. More...
 
int ai_protocol
 Socket protocol. More...
 
socklen_t ai_addrlen
 Address length. More...
 
struct sockaddrai_addr
 Address structure. More...
 
char * ai_canonname
 Canonical name. More...
 
struct addrinfoai_next
 Next address entry (if any). More...
 

Detailed Description

Network address information structure.

This structure describes information on an address in the database. This structure is used by functions such as getaddrinfo() to return information about the specified host.

Field Documentation

struct sockaddr* addrinfo::ai_addr

Address structure.

socklen_t addrinfo::ai_addrlen

Address length.

char* addrinfo::ai_canonname

Canonical name.

int addrinfo::ai_family

Socket address family.

int addrinfo::ai_flags
struct addrinfo* addrinfo::ai_next

Next address entry (if any).

int addrinfo::ai_protocol

Socket protocol.

int addrinfo::ai_socktype

Socket type.


The documentation for this struct was generated from the following file: