Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
addrinfo Struct Reference

Structure to contain information about address of a service provider. More...

#include <netdb.h>

Public Attributes

int ai_flags
 Input flags.
 
int ai_family
 Protocol family for socket.
 
int ai_socktype
 Socket type.
 
int ai_protocol
 Protocol for socket.
 
socklen_t ai_addrlen
 Length of socket address.
 
struct sockaddrai_addr
 Socket address for socket.
 
char * ai_canonname
 Canonical name for service location.
 
struct addrinfoai_next
 Pointer to next in list.
 

Detailed Description

Structure to contain information about address of a service provider.

Definition at line 47 of file netdb.h.

Member Data Documentation

◆ ai_addr

struct sockaddr* addrinfo::ai_addr

Socket address for socket.

Definition at line 54 of file netdb.h.

◆ ai_addrlen

socklen_t addrinfo::ai_addrlen

Length of socket address.

Definition at line 53 of file netdb.h.

◆ ai_canonname

char* addrinfo::ai_canonname

Canonical name for service location.

Definition at line 55 of file netdb.h.

◆ ai_family

int addrinfo::ai_family

Protocol family for socket.

Definition at line 50 of file netdb.h.

◆ ai_flags

int addrinfo::ai_flags

Input flags.

Definition at line 49 of file netdb.h.

◆ ai_next

struct addrinfo* addrinfo::ai_next

Pointer to next in list.

Definition at line 56 of file netdb.h.

◆ ai_protocol

int addrinfo::ai_protocol

Protocol for socket.

Definition at line 52 of file netdb.h.

◆ ai_socktype

int addrinfo::ai_socktype

Socket type.

Definition at line 51 of file netdb.h.


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