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

Network address information structure. More...

#include <netdb.h>

Data Fields

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

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

◆ ai_addr

struct sockaddr* addrinfo::ai_addr

Address structure.

◆ ai_addrlen

socklen_t addrinfo::ai_addrlen

Address length.

◆ ai_canonname

char* addrinfo::ai_canonname

Canonical name.

◆ ai_family

int addrinfo::ai_family

Socket address family.

◆ ai_flags

int addrinfo::ai_flags

Input flags.

See also
addrinfo ai_flags

◆ ai_next

struct addrinfo* addrinfo::ai_next

Next address entry (if any).

◆ ai_protocol

int addrinfo::ai_protocol

Socket protocol.

◆ ai_socktype

int addrinfo::ai_socktype

Socket type.


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