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

Network host entry. More...

#include <netdb.h>

Data Fields

char * h_name
 Official name of the host. More...
 
char ** h_aliases
 Alternative host names. More...
 
int h_addrtype
 Address type. More...
 
int h_length
 Length of address, in bytes. More...
 
char ** h_addr_list
 Network addresses of host. More...
 

Detailed Description

Network host entry.

This structure describes a network host entry in the address database. When looking up an address with the gethostbyname() function, one of these will be returned with information about the host.

Field Documentation

char** hostent::h_addr_list

Network addresses of host.

int hostent::h_addrtype

Address type.

char** hostent::h_aliases

Alternative host names.

int hostent::h_length

Length of address, in bytes.

char* hostent::h_name

Official name of the host.


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